Help starting mysql 5 for first time
when I try to run mysqld_safe for the first time I am getting an error message in the error log
120220 14:21:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql /usr/sbin/mysqld: File './mysql-bin.index' not found (Errcode: 13) 120220 14:21:52 [ERROR] Aborting 120220 14:21:52 [Note] /usr/sbin/mysqld: Shutdown complete 120220 14:21:52 mysqld_safe mysqld from pid file /var/lib/mysql/linux-dhj2.site.pid ended Now the file mysql-bin.index is in the directory pointed to by the datadir directive that is in my.conf. This package is installed on an opensuse 12.1 linux machine |
Two things for now:
|
I start mysql with
Code:
./mysqld_safe Code:
Example MySQL config file for medium systems. |
This thread appears to cover similar symptoms, and offers up sane (if not disjointed) advice:
http://www.linuxquestions.org/questi...-found-480676/ I'd start by exploring the ownership / permissions, and confirming your service account has the needed access (and correcting, if it doesn't). |
All times are GMT -5. The time now is 11:29 AM. |