Home >Database >Mysql Tutorial >ubuntu安装mysql,以及完全重新安装的方法_MySQL

ubuntu安装mysql,以及完全重新安装的方法_MySQL

WBOY
WBOYOriginal
2016-06-01 13:11:531162browse

Ubuntu

sudo apt-get install mysql-server

装完后 是无法远程访问的.

要先修改

sudo vim /etc/mysql/my.cnf

找到 bind-address = 127.0.0.1

注释掉.就ok了

如果之前装乱了...

可以这样彻底删除

sudo apt-get remove --purge mysql-serversudo apt-get remove mysql-serversudo apt-get remove mysql-common
然后...重复安装步骤
Statement:
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