Ubuntu mysql安装

1. 安装需要使用root账号,如果不会设置root账号的请自行google。安装mysql过程中,需要设置mysql的root账号的密码,不要忽略了。


sudo apt-get install mysql-server
apt isntall mysql-client
apt install libmysqlclient-dev

2.以上3个软件包安装完成后,使用如下命令查询是否安装成功:

sudo netstat -tap | grep mysql
 
原文地址:https://www.cnblogs.com/eugenebo/p/7113918.html