![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Hi Everyone,
I am new to PHP, MySql and Apache (WAMP), busy learning all the code. I've come accross my first problem and can't seem to figure this out, and it is probably so simple and right under my nose... I set a MySQL password and I can successfully login to MySQL, but when I try go to phpmyadmin I now get: "Access Denied MySQL said: #1045 - Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server." I obviously know what is happening here, but I don't know where to go to fix this (where is the configuration exactly). I tried looking up the MySQL error #1045, but it just tells me what the error is, not how/where to fix it. Can anybody help me here please? Thanks! |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
|
Re: Set MySQL password, can't login to PHPMYADMIN, HELP!
If you open up your phpmyadmin folder you should see a file called config.inc.php.
Open config.inc.php in notepad or any other text editor/html editor. In that file you should have a line that looks like this Code:
$cfg['Servers'][$i]['password'] = ''; For example: Code:
$cfg['Servers'][$i]['password'] = 'Donkey123'; |
|
|
|
![]() |
| Thread Tools | |
|
|