阿里云Ubuntu16.04部署——数据库部署

二.  数据库部署:

    1.  MySQL部署:

  • 更新软件列表:sudo apt-get update;
  • 安装MySQL:sudo apt-get install -y mysql-server mysql-client(安装过程中会提示输入root密码);
  • MySQL服务启动、关闭和重启命令:
    sudo service mysql start
    sudo service mysql stop
    sudo service mysql restart

 


注:文章都是实践过程中或者遇到问题时,查阅资料实现、解决并进行撰写,其中如有不正确的地方,欢迎留言指正!

你可能感兴趣的:(阿里云,Ubuntu,数据库)