I'm going to need a little more information. First of all, do you have any other database driven php applications running on your server? Second, are you certain that MySQL is started? If so, can you log into MySQL from the command line? I'm not sure what you're experience level is here, so I'm just guessing at what you may or may not have tried...
--Brad Fears
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
I'm going to need a little more information. First of all, do you have any other database driven php applications running on your server? Second, are you certain that MySQL is started? If so, can you log into MySQL from the command line? I'm not sure what you're experience level is here, so I'm just guessing at what you may or may not have tried...
--Brad Fears