Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Mysql login problem? General Question


matthayzon89 - 1:08 am on Oct 9, 2011 (gmt 0)


Thanks for the responses, I am still unable to get it to work.
I am really confused when it comes to databases and being able to work it through my free hosting service (000webhost.com).

Basically, I keep getting an error saying:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'localhost' (using password: YES) in /home/a5177208/public_html/results.php on line 3

Error: Unable to connect.

Right now it is set up to login to mysql through localhost, root (username), and my password... When I run my scripts locally... (Example: [localhost...] www/ databases/index.php) it works perfect.

When I try to upload my scripts I get the error specified above.

I found out the IP address of the 000webhost website, but it still fails.


@rocknbil --- thats not the error im getting, I dont think thats the problem.

I really dont have any experience with this...

and, idk if this makes a difference but I using this software called 'xampp' to help me run my scripts locally through 'localhost'.

Any help would be appreciated. Thanks.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4370393.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com