解决方法:给数据库授权
进入mysql命令行界面,使用命令【grant all privileges on *.* to ‘用户名’@‘IP‘ identified by ‘密码‘;】 grant all privileges on *.* to ‘root‘@‘10.252.225.125‘ identified by ‘123456‘;mysql不能使用IP连接,可以使用localhost连接
标签:bsp 问题 本地 命令 mysql 命令行界面 nbsp 问题: str
mysql不能使用IP连接,可以使用localhost连接
标签:bsp 问题 本地 命令 mysql 命令行界面 nbsp 问题: str