mysql遇到问题解决方案:
原因:可能时因为mysql 账号如 root权限不足
解决方案 : mysql安装bin目录下,运行指令:mysql_upgrade -u root -p (运行前最好先备份原来的数据库)
//查看用户是否有所有权限:grant all on *.* to 'root'@'192.168.1.1' identified by 'password';
mysql遇到问题解决方案:
原因:可能时因为mysql 账号如 root权限不足
解决方案 : mysql安装bin目录下,运行指令:mysql_upgrade -u root -p (运行前最好先备份原来的数据库)
//查看用户是否有所有权限:grant all on *.* to 'root'@'192.168.1.1' identified by 'password';