Error connecting with Mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:
    I understand that this list is about PHP but, may be, any webmaster can
help me.

Linux Suse 8.2.

I was installed apache, php and mysql, all working fine.

from prompt i write mysql and run correctly, i create the database, tables
and grant permisions to users.  all right.
but, when i run the php source have the follow error:

Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) in /usr/local/apache2/htdocs/foros/forodecla/index.php
on line 4

i write rcmysql status and say running.

What is hapenning ?

Thank You.




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux