loding page works on test server but not on hosts
Posted: Sat Feb 26, 2011 4:43 pm
Hi
I have been coding in dreamweaver a login page for my site, it works great on the test server but if I upload it to my sites host server well it shows a fault,
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/jhsrepa1/public_html/login.php on line 5
Access denied for user 'root'@'localhost' (using password: NO)
My host is justhost
the script is php
Any help would be great
Thanks in advance
I have been coding in dreamweaver a login page for my site, it works great on the test server but if I upload it to my sites host server well it shows a fault,
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/jhsrepa1/public_html/login.php on line 5
Access denied for user 'root'@'localhost' (using password: NO)
My host is justhost
the script is php
Any help would be great
Thanks in advance