navicate远程连接数据库报错
1045 access denied for user ‘test’@‘localhost’ using password yes
linux mysql添加用户,删除用户,以及用户权限:
https://www.cnblogs.com/zhchoutai/p/6929103.html
解决方案:
- mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
…… - mysql> CREATE USER ‘test’@’%’ IDENTIFIED BY ‘123456’;
- mysql> grant all privileges on testDB.* to ‘test’@’%’ identified by ‘123456’;
- mysql> flush privileges;