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
loding page works on test server but not on hosts
Moderator: Moderators
- kellys_eye
- Senior Member
- Posts: 12309
- Joined: Mon Mar 15, 2010 11:49 pm
- Location: Oban
- Has thanked: 357 times
- Been thanked: 1790 times
Re: lodin page works on test sever but not on hosts
Does your host support SQL/php coding - not all do. You may have to pay extra for the facility. Chuck up a simple HTML page and see if you can access it.
Don't take it personally......
- gasspark
- Senior Member
- Posts: 599
- Joined: Sun Dec 30, 2007 12:14 pm
- Location: Liverpool
- Has thanked: 4 times
- Been thanked: 37 times
Re: loding page works on test server but not on hosts
should of said the register page works fine with the same details: so the php works fine there but can use the login for some reason