phpMyAdmin Access denied error
Posted by: hi1278 (---.dclient.hispeed.ch)
Date: March 11, 2010 03:52PM

Hello,

I installed WampServer 2 in my machine (Windows Visa OS) today. When I opened phpMyAdmin for the 1st time, it said root password is empty, so I set it. When I opened it next time, it's giving the following error.

"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."

Where should I check the configuration? I would really appreciate any help in resolving this issue.
Thank you!

Options: ReplyQuote
Re: phpMyAdmin Access denied error
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 11, 2010 05:13PM

no. phpmyadmin said mysqls password is empty. so you added a password to mysql..

now phpmyadmin cant conenct cos it doesnt know the password..

open c:/wamp/apps/phpmyadmin/config.inc.php

and add your password to the password line

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: phpMyAdmin Access denied error
Posted by: yfastud (Moderator)
Date: March 12, 2010 01:32AM


Options: ReplyQuote
Re: phpMyAdmin Access denied error
Posted by: scada (---.149.117.91.dynamic.mundo-r.com)
Date: March 13, 2010 09:52PM

just I had the same problem. It solved
create a mysql database, then edit privileges add a password to user then edit config.inc.php, just put your password ['password'] = 'yourpassword'; then if you try to open phpMyAdmin probably it tells you there is a
problem. Close the window continue with joomla installation that is my case, in the window that you are asked
to introduce your host name, user name, and password. Introduce your password, the same.
Finish the installation and after this you probably can access.
Hope this solve your problem

Options: ReplyQuote
Re: phpMyAdmin Access denied error
Posted by: yfastud (Moderator)
Date: March 13, 2010 10:07PM

you should setup a db for each new script

to setup joomla, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Access denied for user 'odbc'@'localhost' (using password: NO)
Posted by: dominick (196.15.250.---)
Date: March 15, 2010 10:47AM

i have create my files in htdocs in xampp i code in model file for access/or retrieve data from the database and i also code in controll file for controlls but when i run those file doesnt retrive data from the database i am getting this error "Access denied for user 'odbc'@'localhost' (using password: NO) " while my setting are username="root",password="yes"

can someone help me please!!!

i tried to read some solution but i dont know where to get this file connectivity.php?

Options: ReplyQuote
Re: phpMyAdmin Access denied error
Posted by: yfastud (Moderator)
Date: March 15, 2010 10:51PM

Quote

i have create my files in htdocs in xampp
if using only xampp, then you should get help from its forums; if using both xampp and wamp, you need to completely uninstall xampp and remove its registries for this wamp to work

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.