#1045 - Access denied for user
Posted by: sylverock (---.dllstx.fios.verizon.net)
Date: February 12, 2008 06:47AM

Help - Am a novice tonight

How can i launch PHPMyAdmin: I am getting the following error:

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 'root'@'localhost' (using password: NO)

NOTE: I changed mysql root password to NO but still I get the same error.

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 12, 2008 06:53AM

no no no.

mysql is telling you that your using root with no password. not that the password is no.



explain wat ur doing,,



u have wamp started... the icon is white....... you open browser.
you go to [localhost] h t t p : / / l o c a l h o s t / p h p m y a d m i n /
and u get this 1045 error?

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: yfastud (Moderator)
Date: February 12, 2008 01:53PM

Check Setup Password on my personal websites

Happy Lunar New Year ;-)

Have fun,

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

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: sylverock (---.static.twtelecom.net)
Date: February 12, 2008 05:31PM

I try to launch the phpMyadmin from the WAMP icon tray and i get this error.

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 12, 2008 05:34PM

open ur browesr... type in h t t p : / / l o c a l h o s t / p h p m y a d m i n /

without the spaces and see wat comes up


make sure ur wamp tray icon is white

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: sylverock (---.static.twtelecom.net)
Date: February 12, 2008 06:49PM

I reinstalled the WAMP Server and I get to the PHP Admin page. I have written a starter Hello Word program using notepad and saved it as php101.php on the c:\ drive. WHen i open this file using Windows Explorer brower; the entire code is being displayed.

Where should I store the php101.php script such that the PHP script get executed and only Hello World is displayed in the web page.

Options: ReplyQuote
Re: #1045 - Access denied for user
Posted by: yfastud (Moderator)
Date: February 12, 2008 10:20PM

save php101.php in c:/wamp/www and access it through any browser as follows:

http:// localhost/php101.php

Don't copy and paste because I've put a space there so you can see the full address

Also, check my websites for some useful guides ;-)

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.