登陆要链接的服务器上的mysql
命令:mysql -uroot -p123456
然后执行 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;登陆要链接的服务器上的mysql
命令:mysql -uroot -p12345登陆要链接的服务器上的mysql
命令:mysql -uroot -p123456
然后执行 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;登陆要链接的服务器上的mysql
命令:mysql -uroot -p12345