
下面以root模式下安装为例:
#yum -y install mysql-server
Installed: mysql-server.i386 0:4.1.20-1.RHEL4.1
Dependency Installed: mysql.i386 0:4.1.20-1.RHEL4.1 perl-DBD-MySQL.i386 0:2.9004-3.1 perl-DBI.i386 0:1.40-8
Complete!
安装完毕密码为空,可使用:mysql -uroot -p 进入即可。
#yum -y install mysql-server