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

相關文章
相關標籤/搜索