tcwwt Posted May 1, 2014 Posted May 1, 2014 Recently my php scripts to access a MySQL database have stopped working. All pages that try to do this only show an error saying that it can't log into the MySQL server. When I tried going into phpMyAdmin, I got a 1045 error.I tried changing the password for the database user, but it wasn't recognizing the old password. I then made a new user and added it to the database, and tried again, but no luck. (when I tried changing the password for the new user, it also told me the old password was invalid)I've no idea what's going on with the password system, but nothing seems to be working...Any suggestions?Thanks
wolstech Posted May 1, 2014 Posted May 1, 2014 Thats odd... Try changing your cpanel password. On the password change page, make sure you check the "Allow MySQL password change" option if its not already checked. That might fix phpmyadmin. If phpmyadmin works again, try recreating your database users to fix them.
tcwwt Posted May 6, 2014 Author Posted May 6, 2014 I tried this, but I can't even change the cpanel password (supposedly based on a dictionary word...does this just mean I have to come up with a random password?)
wolstech Posted May 6, 2014 Posted May 6, 2014 That's exactly what it means. Needs to be something that's not in the English dictionary. Frustrating at times, but provides extra security.
tcwwt Posted May 8, 2014 Author Posted May 8, 2014 Okay, it worked, I now have access to phpmyadminThank you so much!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now