Starting MySQL.........[FAILED]
[root@localhost src]# rpm -ivh MySQL-*.rpm
Preparing...??????????????? ########################################### [100%]
?? 1:MySQL-shared?????????? ########################################### [ 25%]
?? 2:MySQL-client?????????? ########################################### [ 50%]
?? 3:MySQL-devel??????????? ########################################### [ 75%]
?? 4:MySQL-server?????????? ########################################### [100%]
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
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 localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE:? If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL...................................[FAILED]
检查原因,原来SELINUX作怪
解决办法
进/etc/selinux??然后vi config? 把SELINUX=enforcing 这一行
改为:SELINUX=disabled
然后保存,退出。:wq
这时记得一定要把电脑重启。然后再把以前装的MYSQL删除重装下。
[root@localhost src]# rpm -ivh MySQL-*.rpm
Preparing...??????????????? ########################################### [100%]
?? 1:MySQL-shared?????????? ########################################### [ 25%]
?? 2:MySQL-client?????????? ########################################### [ 50%]
?? 3:MySQL-devel??????????? ########################################### [ 75%]
?? 4:MySQL-server?????????? ########################################### [100%]
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
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 localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE:? If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL[确定]