RSS

WordPress Access denied for user ”@’localhost’ to database ‘mysql’ solution

西小西|xixiaoxi.com搬家,DNS生效后出现数据库访问故障,
denied for user ”@’localhost’ to database ‘mysql’
后来发现是因为没有向数据库添加用户并给于权限。
1. 生成新的数据库
2. MySQL添加新用户
3. 向数据库添加用户

MYSQL

 

 

This post was written by:

- who has written 435 posts on 西小西|xixiaoxi.com.


Contact the author 转贴到开心网

Leave a Reply