Chai,
Thursday, August 01, 2002, 3:52:59 PM, you wrote:

CW> Very sorry for my childish question, I'm just starting to learn about MySQL
CW> Following is my procedure in fixing the problem of installation on Intel PC,
CW> and Linux RH7.3.

CW> 1. RPM installation
CW> 2. When execute mysql, there is a message "ERROR 2002: Can't connect to
CW> local MySQL server through socket '/var/lib/mysql/msql.sock' (111)"
CW> 3. Follow the Binary installation
CW> 4. At ./scripts/mysql_install_db, there is a message "./bin/mysqld: Shutdown
CW> Complete"
CW> 5. At ./bin/safe_mysqld --user=mysql &, there is a message mysqld ended
CW> 6. The mysql command still cannot be executed successfully with the message
CW> in the 2nd step.

CW> In /var/log/mysql.log shows an error message "/usr/local/mysql/bin/mysqld:
CW> can't find file: ./mysql/host.frm (errno: 13)", then "mysqld ended". There 
CW> is
CW> a comment suggesting that this is about 'permittion denied', but the above
CW> process is run under user 'root@localhost'. Please suggest me how can I 
CW> start
CW> mysql..

MySQL must be the owner of the data dir.

chown -R mysql:mysql /var/lib/mysql

if /var/lib/mysql is the data dir.





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to