`
dbp_cn
  • 浏览: 86361 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

mysql在ubuntu 14.04 安装。

 
阅读更多

1.添加 MySQL APT 仓库

 1.1 下载apt仓库配置文件mysql-apt-config-ubuntu14.04.zip,解压

1.2 将下面"/PATH/platform-and-version-specific-package-name" 部分替换为你系统的路径

sudo dpkg -i /PATH/platform-and-version-specific-package-name.deb

1.3 During the installation of the package, you will be asked to choose the versions of the MySQL server and  other components (for example, the MySQL Workbench) that you want to install. If you are not sure which version to choose, do not change the default options selected for you. You can also choose none if you do not want a particular component to be installed. After making the choices for all components, choose Apply to finish the configuration and installation of the release package.

1.4

shell> sudo apt-get update

2.

sudo apt-get install mysql-server
分享到:
评论
1 楼 dbp_cn 2015-07-25  
Starting and Stopping the MySQL Server

The MySQL server is started automatically after installation. You can check the status of the MySQL server with the following command:

shell> sudo service mysql status

Stop the MySQL server with the following command:

shell> sudo service mysql stop

To restart the MySQL server, use the following command:

shell> sudo service mysql start

相关推荐

Global site tag (gtag.js) - Google Analytics