mysql -uroot -hlocalhost -psorry
设置远程登录 用户名及密码
GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "123456";