Click to See Complete Forum and Search --> : mySQL Help


jasontc
08-09-2001, 09:16 PM
I have been trying to get mySQL to start for the past three days and can not seem to find the correct trick.

Here is the command I used to start it (Note: I running RH 7.1):

/usr/bin/safe_mysql &

The following is what is printed out:

Starting mysqld daemon with database from /var/lib/mysql
mysql ended

I checked the mysqld.log file and here is the error message I receive:

010808 19:27:38 mysqld started
010808 19:27:38 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
010808 19:27:38 mysqld ended

I know that my path to my mysql database is incorrect, but I have no clue how to set it right...is there a config file somewhere?

Thanks for the help.

VRay
08-10-2001, 01:26 AM
Did you you run /scripts/mysql-install_db?

jasontc
08-10-2001, 08:45 AM
Yep...the mysql_install_db seems to run fine. When I do a 'ps' I notice that mysqld is already running...but when I type mysql to start working with it I get the error saying it can not connect through mysql.sock (111).