Results 1 to 3 of 3
Hi I have a problem with MYSQL,
I have USED YUM to install the following packages;
* mysql-VERSION.i386.rpm (Required)
* mysql-server-VERSION.i386.rpm (Required)
* mysql-devel-VERSION.i386.rpm
* php-mysql-VERSION.i386.rpm
NOW im new to ...
- 03-31-2009 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 8
Problem With SELinux (firewall) and MSQL
Hi I have a problem with MYSQL,
I have USED YUM to install the following packages;
* mysql-VERSION.i386.rpm (Required)
* mysql-server-VERSION.i386.rpm (Required)
* mysql-devel-VERSION.i386.rpm
* php-mysql-VERSION.i386.rpm
NOW im new to this so i wanna setup a mysql database on my computer so
the next thing I do is run the following command.
[root@localhost bin]# /etc/rc.d/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
On the desktop i get a message saying SELinux
SELinux is preventing mysqld_safe (mysqld_safe_t) "search" to ./lib (var_lib_t).
Can anyone help!?
- 03-31-2009 #2
SELinux is pretty tight on what's allowed and what's not. Personally, I just get rid of it as soon as I can after installing Fedora.
If you wanna keep it active, though, you'll need to look into some documentation for making allowances in the apps or programs that are allowed to connect. I did find this How-To. Hope it helps.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 03-31-2009 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 8
Ok I may have got round that problem now simply by issuing another command!
[root@localhost edb3]# /usr/bin/mysql_install_db
I am then recommend to run
/usr/bin/mysql_secure_installation
when i do this i get the following error.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Reply With Quote