Tag: can’t start mysql server
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….