Re: MySQL not starting at boot-Fedora Core 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Sargent wrote:

Hi All,

attempting another mysql install, on a 3rd machine. Extracted the tar.gz file to /usr/local/mysql. Followed the install docs here,

http://dev.mysql.com/doc/mysql/en/installing-binary.html

and successfully ran the MySql grant tables script,

6. If you haven't installed MySQL before, you must create the MySQL grant tables:

shell> scripts/mysql_install_db --user=mysql


I then followed here,

http://dev.mysql.com/doc/mysql/en/automatic-start.html

to a T, and copied mysql.server to /etc/init.d, and just for good measure, gave it permission to execute,

chmod +x /etc/init.d/mysql

I then rebooted(I know it's not really required, but did it anyway), to see how things would go at boot, and saw a failed message for mysqld_safe,

Apr 16 21:20:01 localhost lsb_log_message: Can't execute ./bin/mysqld_safe failed

Can anyone explain why it wouldn't start..? Anything I should be looking for..? I can start the server with ./mysqld_safe from within the bin dir and I can connect as root or mysql. Cheers.

/etc/init.d/mysql permissions

[root@localhost init.d]# ls -lh mysql
-rwxr-xr-x  1 root root 6.2K Apr 16 21:11 mysql

/var/log/mysqld.log doesn't show anything as I think it only logs errors once running. /var/boot.log only shows the same error seen at boot as does /var/log/boot.log.

Mark Sargent.

What are the permissions on ./bin/mysqld_safe ?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux