1、安装 apt-get install mysql-server 2、查看并启动 service mysql status --查看mysql服务状态 service mysql start --启动mysql的服务 成功安装标志: