ubuntu14安装mysql5.6

安装mysql5.6的依赖

$ sudo apt-get install mysql-client-core-5.6
$ sudo apt-get install mysql-client-5.6

安装mysql

$ sudo apt-get install mysql-server-5.6

启动MySQL

$ sudo service mysql start
# 查看mysql状态
$ sudo service mysql status

打开数据库

$ mysql -u root -p

 

转载于:https://www.cnblogs.com/libaoshan/p/11298979.html

你可能感兴趣的:(数据库)