ssskaya
11-27-2002, 11:16 AM
I am new to PHP and MySQL Databases.
I just inserted a poll to my website (The poll of www.proxy2.de). But it gives this error message:
MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)
I suspect one of the reasons this may be happening is that I need to change Host names in the configuration files from "host" to "mysql".
But how do I know which files are configuration files among a variety of files? And how do I know what parts of the script to change.
Please advise.
Thanks!
I just inserted a poll to my website (The poll of www.proxy2.de). But it gives this error message:
MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)
I suspect one of the reasons this may be happening is that I need to change Host names in the configuration files from "host" to "mysql".
But how do I know which files are configuration files among a variety of files? And how do I know what parts of the script to change.
Please advise.
Thanks!