Hello.


Are you able to start MySQL server by this command?



  service mysqld start



I think you should put the correct values for the basedir, datadir,

PATH variables at the beginning of the /etc/init.d/mysql file.









Mark Sargent <[EMAIL PROTECTED]> 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, 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.dmysql permissions

> 

> [EMAIL PROTECTED] init.d]# ls -lh mysql

> -rwxr-xr-x  1 root root 6.2K Apr 16 21:11 mysql

> 

> Mark Sargent.

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to