Help - Search - Members - Calendar
Full Version: Can't Connect To Db.
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
Chazz
I'm getting the

mysqlerror:Access denied for user '562968_admin'@'192.168.1.1' (using password: YES)

error when trying to connect to my DB. I've already ran the connection checker, all the credentials are good, I just can't connect.

I made a simple email signup sheet for church, and I get the above error when I click 'Submit' to put the info into the DB. Suggestions?

I've also read quite a few posts concerning this same issue, and tried various solutions to no avail.
ssfdre38
you might be putting a space in front of your pass. check it again and make sure that everything is right
Chazz
triple checked, no spaces, the credentials are good
ssfdre38
try recreating the user with a shorter pass
Chazz
tried that as well, still no connection. I also used a template just to see if I could connect to the DB by itself, no extra code or anything, and still got the same error.

I'm also getting

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'redacted'@'192.168.1.1' (using password: YES) in /www/zymichost.com/a/c/t/actsemail/htdocs/include/fg_membersite.php on line 517

and the corresponding line in my code is:

$this->connection = mysql_connect($this->db_host,$this->username,$this->pwd);
ssfdre38
again try a shorter pass for your user
Chazz
same error. is there a size limit for the password?

well, I made a new user, gave it a short password, and I got over that error. I wonder why it didn't work the first time I tried it....oh well. THANKS FOR THE HELP, HOSS!!!

hmmmm...somehow, during all that, my table got deleted....yay
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.