[root@dev lixianwei6]# rpm -ivh MySQL-server-5.5.23-1.sles11.x86_64.rpm
error: Failed dependencies:
aaa_base is needed by MySQL-server-5.5.23-1.sles11.x86_64
pwdutils is needed by MySQL-server-5.5.23-1.sles11.x86_64
强制安装:
[root@dev lixianwei6]# rpm -ivh MySQL-server-5.5.23-1.sles11.x86_64.rpm --force --nodeps
Preparing... ################################# [100%]
Updating / installing...
1:MySQL-server-5.5.23-1.sles11 ################################# [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h develop-alpha-test-0024 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.
Please report any problems with the /usr/bin/mysqlbug script!