Programmer to fix a quick mysql error hi guys just transfering a site to another server and encountered a sql error and wanting someone to fix. please add me on msn at Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'newmadik_ptc '@'localhost' (using password: YES) in /home/newmadik/public_html/ptc-bux.net/lib/lib.php on line 40 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/newmadik/public_html/ptc-bux.net/lib/lib.php on line 45 Warning: Cannot modify header information - headers already sent by (output started at /home/newmadik/public_html/ptc-bux.net/lib/lib.php:40) in /home/newmadik/public_html/ptc-bux.net/lib/configuration.php on line 343
It looks like you need to check the username/password you are using in your config to connect to the database. The other errors are more than likely because of this; I.E You cant select from a database you arent connected to.
Yep, either a config problem or your mysql server is down - check with your hosting provider if it suddenly started with those errors after working perfectly before