Ok guys,
I've done the things you have asked me execpt for putting that script in rc.local, I haven't done that because it won't let safe_mysqld start with mysq user as it shows here:
Code:
[root@dhcp-482-1191 mysql]# pwd
/usr/local/mysql
[root@dhcp-482-1191 mysql]# bin/safe_mysqld --user=mysql
Starting mysqld daemon with databases from /usr/local/mysql/data
021016 15:11:12 mysqld ended
[root@dhcp-482-1191 mysql]#
So I go to the error log in /usr/local/mysql/data and see this:
Code:
021016 15:11:12 mysqld started
Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!
021016 15:11:12 Aborting
021016 15:11:12 /usr/local/mysql/bin/mysqld: Shutdown Complete
021016 15:11:12 mysqld ended
The user exists because I did those commands groupadd and useradd. I even went as far as to del the ones that came from my RPM install and then I recreated them using the commands. Still doesn't work as mysql >
:'(
Bookmarks