- 安装mysql-server
sudo apt-get install mysql-server
提示设置MySQL的root密码:
再输入一次:
- 安装MySQL-client
sudo apt install mysql-client sudo apt install libmysqlclient-dev
sudo apt-get install mysql-server
提示设置MySQL的root密码:
再输入一次:
sudo apt install mysql-client sudo apt install libmysqlclient-dev