MySQL Connection Problems?

Hello, whenever I try to create register and login scripts for my website, I get the error message

“Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /home/.reebok/penguins442/ on line 7
cannot connect”

How do I fix this? I thought I had everything set up correctly. Thanks!

PS- My website is if that helps.

Can you give me your code snapshot ? Check out this wiki first. Hope it helps ! :slight_smile:


Get YOUR $97 off on yearly plan with [color=#CC0000]YOUGET97 [/color] promo code. Sign Up NOW