View previous topic :: View next topic |
Author |
Message |
qwertz -
Joined: 17 Oct 2003 Posts: 15
|
Posted: Tue Dec 09, 2003 2:38 pm Post subject: Access Denied in PHPMyAdmin... Please Help! |
|
|
Abyass Server Running
MySQL Running with Green Light
I go to http://localhost/phpmyadmin, but it says:
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error
MySQL said:
#1045 - Access denied for user: 'qwertz@192.168.1.5' (Using password: YES)
I resetted my password with the MySQL database multiple times by deleting the my.ini file, but I still can't access PHPMyAdmin. Is there anything I can do?
Please Help, Thanks
Qwertz
Last edited by qwertz on Tue Dec 09, 2003 2:49 pm; edited 1 time in total |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Tue Dec 09, 2003 2:45 pm Post subject: |
|
|
Quote: | I resetted my password with the MySQL database multiple times by deleting the my.ini file, but I still can't access PHPMyAdmin. Is there anything I can do?
| Did you also reset the username/password in config.inc.php?
Default should be... Code: | $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password |
|
|
Back to top |
|
 |
qwertz -
Joined: 17 Oct 2003 Posts: 15
|
Posted: Tue Dec 09, 2003 2:55 pm Post subject: hm... |
|
|
Hm... But if I set my user for MySQL as qwertz, and my pass as ******, and I type qwertz and ****** for my config file, i still can't get in.
Is there something I have to do with the host? Cause when I launch the MySQL program, it says that the host is Kevin-Computer (that's what I named my comp :wink: )
Thanks
Qwertz |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Tue Dec 09, 2003 3:18 pm Post subject: |
|
|
Set it to localhost.
Also, it's not necessary to password protect mysql in my.ini file.
You do that in phpmyadmin>privileges.
So, go ahead and delete your username/password in mysql and
reset config.inc.php as suggested above in my last post.
Let's get phpmyadmin running first before worrying about passwords, etc. |
|
Back to top |
|
 |
|