1. 程式人生 > >SuSE10下離線安裝MySQL

SuSE10下離線安裝MySQL

root:/home/install/mysql_for_suse10 # rpm -ivh MySQL-server-community-5.1.73-1.sles10.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:MySQL-server-community ########################################### [100%]
mysql                     0:off  1:off  2:on   3:on   4:on   5:on   6:off


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 Test-I2000 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!


Starting MySQL.                                                       done
Giving mysqld 2 seconds to start