远程连接mysql,(2003, “Can‘t connect to MySQL server on ‘x.x.x.x‘ (timed out)“)
远程连接mysql,(2003, “Can’t connect to MySQL server on ‘x.x.x.x’ (timed out)”)服务器终端执行以下命令mysql -u root -p 输入密码,进入数据库use mysqlselect host from user where user=‘root’;update user set host = ‘%’ where user =‘root’; Host设置了“%”后便可以允许远程访问。flush privileges;Hos