MYSQL Setup FAILED WITH SELinux enabled
"Starting MySQL...................................[FAILED]"
Run MySQL Setup
-----------------
[root@localhost src]# rpm -ivh MySQL-server-standard-5.0.27-0.rhel4.i386.rpm
Preparing... ###########################################
[100%]
1:MySQL-server-standard ###########################################
[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 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] What do to : From System->Administrator->Security and FireWall
Security Level Configuration
SElinux Setting : Enforcing
Modify Selinux Policy
SELinuxService Protection
Change this "Disable SELinux protection for mysqld daemon"
The Problem should solve
more information
http://bugs.mysql.com/bug.php?id=12676
Refer to this portion
[12 Oct 2005 2:18] michael chester
If you are using rhel 4 you can work around this issue by running the security
GUI system-config-securitylevel and exempting the MySQL service from the SELinux
configuration. You should then be able to run the RPM install as per the MySQL
instructions.
No comments:
Post a Comment