Linux系统下mysql数据库安装配置步骤: 1.在服务器上安装mysql:sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev 检测mysql是否安装成功sudo netstat -tap | grep mysql 2.执行MySQL命令授权: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' ID