--- Bill Shupp <[EMAIL PROTECTED]> wrote:
> Bogdan wrote:
> > Hi, guys I have the following error after a fresh
> > instalation: 
> > Warning: mysql_connect(): Can't connect to local
> MySQL
> > server through socket '/var/lib/mysql/mysql.sock'
> (13)
> > in /var/www/html/vegadns/src/connect.php on line
> 28
> > error connecting to database
> > 
> > if I connect from the comand line with the
> same/user
> > pass like in config.php it works.
> > 
> > thank you.
> 
> Perhaps PHP is looking to the wrong socket file. Is 
> /var/lib/mysql/mysql.sock the right socket file?  If
> not, I think this 
> is configured in php.ini.  Change it there.
> 
> Regards,
> 
> Bill
> 
I checked the socket file is ok, I tryed to edit
php.ini but still the same error :(


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

Reply via email to