1 安装

1
2
3
4
5
6
yum install mysql-server   mysql-devel 

service mysqld start

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

NOTE
/bin/cp ser_ims/cfg/.cfg .
/bin/cp ser_ims/cfg/
.xml .
/bin/cp ser_ims/cfg/*.sh .