首页 > 代码库 > Linux Mysql 总结

Linux Mysql 总结

一:Error Code: 1044. Access denied for user root@% to database① mysql -u root -p 进入到mysql中②SELECT host,user,password,Grant_priv,Super_priv FROM mysql.user; 查看权限③UPDATE mysql.user SET Grant_priv=Y, Super_priv=Y WHERE User=root;修改权限④FLUSH PRIVILEGES;刷新

 

Linux Mysql 总结