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

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

WBOY
Release: 2016-06-01 13:11:53
Original
1171 people have browsed it

Ubuntu

sudo apt-get install mysql-server
Copy after login

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

要先修改

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
Copy after login
然后...重复安装步骤
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