The Full Enchilada

Tag: can’t start mysql server

MYSQL install or startup error my_print_defaults command not found mysqld_safe

by Admin on Nov.15, 2010, under Linux Unix Stuff

In case it helps anyone out, if your having problems with install or startup of your mysql server and get errors indicating it can’t write to /usr/local/mysql/data or that it can’t find my_print_defaults or “mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable” it could be a very simple solution of just adding the mysql bin directory path to your environment PATH variable…on linux of course this is a simple “export PATH=$PATH:/usr/local/mysql/bin”
and of course change that to your own actual path to the mysql bin directory….

After adding the bin dir path to your $PATH environment variable mysql server mysqld_safe should startup without any problems….

Leave a Comment :, , , , , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...