ubuntu16.04 安装mysql 5.7

参考: http://www.cyberciti.biz/faq/howto-install-mysql-on-ubuntu-linux-16-04/mysql

sudo apt install mysql-server mysql-clientlinux

 

若是提供安全行,能够运行 $sudo mysql_secure_installationsql

The mysql_secure_installation command will change the root password, disable and remove anonymous users from MySQL server, turn off the MySQL root user login remotely, delete test database, and reload privilege tables on the system. If you’ve completed all of the steps and answer yes to these questions. Your MySQL installation should now be secure.ubuntu

相关文章
相关标签/搜索