debian6配置mysql允许远程连接的方法(图)
时间:2024-01-13 19:42:20
debian6系统:
首先先安装mysql吧:
打开终端(root)用户登入
apt-get purge mysql-server-5.5
安装完成后:
默认情况下Mysql只允许本地登录,所以需要修改配置文件将地址绑定给注释掉:
vim /etc/mysql/my.cnf
#bind-address = 127.0.0.1 <---注释掉这一行就可以远程登录了
若还是不行,请本地登录mysql执行词句:UPDATE user SET Password=PASSWORD('newpassword') where USER='root';
标签:debian6,mysql,远程连接
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
mysql提示Changed limits: max_open_files: 2048 max_connections: 1910 table_cache: 64的解决
2024-01-23 11:01:32
selenium+python实现自动登陆QQ邮箱并发送邮件功能
2023-12-17 18:52:13
![](https://img.aspxhome.com/file/2023/7/125197_0s.jpg)
Python面向对象程序设计构造函数和析构函数用法分析
2021-12-12 07:01:48
python处理圆角图片、圆形图片的例子
2021-06-08 15:20:15
![](https://img.aspxhome.com/file/2023/6/92356_0s.png)
python 爬虫出现403禁止访问错误详解
2023-11-13 06:53:24
mac下如何将python2.7改为python3
2023-12-07 17:14:43
![](https://img.aspxhome.com/file/2023/2/112822_0s.jpg)
SQL查询中出现笛卡尔积现象的解决方法
2024-01-13 04:16:49
![](https://img.aspxhome.com/file/2023/9/96219_0s.png)
最新解决'nvidia-smi' 不是内部或外部命令也不是可运行的程序
2022-07-01 16:30:06
![](https://img.aspxhome.com/file/2023/9/125159_0s.png)
SpringBoot调用python接口的实现步骤
2022-01-24 22:41:57
![](https://img.aspxhome.com/file/2023/3/118523_0s.png)
SQL Server的FileStream和FileTable深入剖析
2023-07-17 01:17:24
![](https://img.aspxhome.com/file/UploadPic/201211/30/20121130203621460s.jpg)
Python必备基础之闭包和装饰器知识总结
2022-05-21 22:34:30
基于python实现Pycharm断点调试
2021-05-18 03:16:22
![](https://img.aspxhome.com/file/2023/5/133785_0s.png)
Python参数类型以及常见的坑详解
2023-04-16 13:52:33
![](https://img.aspxhome.com/file/2023/0/97020_0s.png)
win2003安装sqlserver 2000提示无法验证产品密钥的解决方法
2024-01-27 00:18:39
jmeter实现接口关联的两种方式(正则表达式提取器和json提取器)
2022-06-14 19:31:27
![](https://img.aspxhome.com/file/2023/1/69111_0s.png)
python中将字典转换成其json字符串
2023-10-16 23:46:41
零基础写python爬虫之urllib2使用指南
2022-10-17 04:00:44
![](https://img.aspxhome.com/file/2023/4/70214_0s.png)
Python闭包与装饰器原理及实例解析
2023-04-08 19:44:30
Linux PHP连接MSSQL
2011-06-02 12:01:00
Python3计算三角形的面积代码
2022-06-20 21:03:54