change --basedir location
Hi,
I have a problem with the r1soft mysql addon(restore option) because mysql basedir is set wrong.
Right now the server runs with:
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/
And I want to change the --basedir option to --basedir=/usr
If I add in my.cnf the option basedir=/usr and I restart the server I receive this error.
ERROR! MySQL manager or server PID file could not be found!
Any idea how can I change the basedir location ?
Thanks.
-
According to the docs, the way you did this should be correct: [url=http://dev.mysql.com/doc/refman/5.5/en/option-files.html]MySQL :: MySQL 5.5 Reference Manual :: 4.2.3.3 Using Option Files What does the MySQL error log say? (/var/lib/mysql/yourhostname.err) 0 -
Hello :) Yes, please let us know what is output to the MySQL error log when restarting MySQL. You may also want to report the issue to R1Soft if their application is not working as intended. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments