Home > Database > Mysql Tutorial > Ubuntu下取消MySQL数据库本机绑定限制_MySQL

Ubuntu下取消MySQL数据库本机绑定限制_MySQL

WBOY
Release: 2016-06-01 13:41:33
Original
888 people have browsed it

Ubuntu

bitsCN.com
Ubuntu下取消MySQL数据库本机绑定限制 出现问题:在Ubuntu系统中,添加了MySQL账户,赋予了数据库完全操作权限,并且允许数据库从外部链接
 但是,还是无法远程访问MySQL数据库。原因:Ubuntu系统中,默认安装的MySQL限制了只有本机才能访问数据库
 解决办法:
取消MySQL数据库的本机绑定限制nano /etc/mysql/my.cnf    #编辑配置文件找到bind-address = 127.0.0.1改为    #bind-address = 127.0.0.1ctrl+o   #保存配置ctrl+x   #退出  本文来自于系统运维网 bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template