Make sure you've got proper credentials for root@localhost user and set up tc/ip connections for your MySQL server. Also, pay attention to https://stackoverflow.com/questions/14779104/how-to-allow-remote-connection-to-mysql
请先登录再写评论。
Make sure you've got proper credentials for root@localhost user and set up tc/ip connections for your MySQL server. Also, pay attention to https://stackoverflow.com/questions/14779104/how-to-allow-remote-connection-to-mysql