Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Database help? I got an error!
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 |
#2
|
||||
|
||||
You need to make a database user in cPanel to match the information in your config.php. Did you do that?
__________________
|
#3
|
|||
|
|||
I already did! :)
|
#4
|
||||
|
||||
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?
__________________
|
#5
|
|||
|
|||
and where is the phpmyadmin
|
#6
|
||||
|
||||
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:
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".
__________________
Last edited by Dinocanid; 09-30-2018 at 10:12 PM. |
|
|
What's New? |
What's Hot? |
What's Popular? |