ubuntu16.04下安装mysql

1. 安装mysql-server服务端

sudo apt-get install mysql-server

一般安装过程中会要求用户设置密码。 安装过程中会提示输入root帐号的密码。rootmysql系统中的管理员角色,具有最高的权限。按照提示设置密码即可。如:123456

2. 安装mysql-client客户端

输入:

sudo apt-get install mysql-client

如果无法下载,先执行

sudo apt-get install update

猜你喜欢

转载自blog.csdn.net/chen1042246612/article/details/84073703