1.2 安装mysql 1.2.1 yum install mysql mysql-server mysql-devel 同样,完成后,用/etc/init.d/mysqld start 启动mysql 1.2.2 设置mysql密码 mysql>; USE mysql; mysql>; UPDATE user SET Password=PASSWORD(‘newpassword’) WHERE user=’root‘; mysql>; FLUSH PRIVILEGES; 1.2.3 允许远程登录 mysql -u root -p Enter Password: <your new password> mysql>GRANT ALL PRIVILEGES ON *.* TO ‘用户名’@’%’ IDENTIFIED BY ‘密码’ WITH GRANT OPTION; 完成后就能用mysql-front远程管理mysql了。 1.2.4 设为开机启动 chkconfig mysqld on