PDA

View Full Version : Database help? I got an error!


oakhearted
09-29-2018, 03:30 AM
http://anthropoid.x10host.com/
Can anyone please help me?
it keeps saying this
Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [1045] Access denied for user 'oakhearted'@'localhost' (using password: YES)
-Oakhearted

Dinocanid
09-29-2018, 02:32 PM
You need to make a database user in cPanel to match the information in your config.php. Did you do that?

oakhearted
09-30-2018, 02:30 AM
You need to make a database user in cPanel to match the information in your config.php. Did you do that?

I already did! :)

Dinocanid
09-30-2018, 12:46 PM
Does the database exist in phpmyadmin too? Trying to troubleshoot where the problem could be, since if you have a user for the database it should work.

Do you remember what steps you took while making the site?

oakhearted
09-30-2018, 09:19 PM
Does the database exist in phpmyadmin too? Trying to troubleshoot where the problem could be, since if you have a user for the database it should work.

Do you remember what steps you took while making the site?

and where is the phpmyadmin

Dinocanid
09-30-2018, 10:09 PM
It should be visible in the mysidiahost client area (if you use mysidiahost. On x10 it should be in cPanel), or the databases section in cPanel:
https://i.gyazo.com/5460476a2886aab4c6f8f12032c558f9.png
https://i.gyazo.com/cabc3d4238565e43e9bede2b7983aec1.png

If it isn't there, you have to click on MySQL Databases (in either the client area or cPanel) and create the database. Also don't forget to add the admin user to the database by scrolling all the way to the bottom of the MySQL databases page, under "Add user to database".