1、安装MySQL
yum install mysql mysql-devel mysql-server
2、设定运行级别
chkconfig --levels 235 mysqld on
3、启动
/etc/init.d/mysqld start
4、检查运行状态
netstat -tap | grep mysql
5、修改密码
mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword
posted on 2010-06-04 17:42
蓝剑 阅读(323)
评论(0) 编辑 收藏 所属分类:
Linux