On Wed, 21 Feb 2001, Hagen Hoepfner wrote:

> I can normaly use mysql 
> if I am root. But if i'm logged in as normal user or try to connect to mysql 
> via php i got the following error message:
> 
> MySQL Connection Failed: Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (13) in 
> /usr/local/httpd/htdocs/gutefrage/secure/statistic.php on line 19
> 
> What can I do?

Hagen, 
please read the very fine Manual chapter 4 about the "The MySQL Access
Privilege System". This will solve your problem.

Thomas


---------------------------------------------------------------------
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