linux下navicat for mysql无法连接问题解决方法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
1.登录服务器的数据库 mysql -uroot -p(密码)
2.创建用户用来远程连接,创建用户为maliang,密码也是maliang
GRANT ALL PRIVILEGES ON *.* TO 'maliang'@'%' IDENTIFIED BY 'maliang' WITH GRANT OPTION;
3.执行 flush privileges;命令立即生效
flush privileges;
4.查询数据库的用户
SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user;
5.使用exit命令退出MySQL
6.
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
7.naticat 连接
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献1条内容
所有评论(0)