Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 22nd, 2008, 04:35 PM
Stefan1 Stefan1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 324 Stefan1 User rank is Sergeant (500 - 2000 Reputation Level)Stefan1 User rank is Sergeant (500 - 2000 Reputation Level)Stefan1 User rank is Sergeant (500 - 2000 Reputation Level)Stefan1 User rank is Sergeant (500 - 2000 Reputation Level)Stefan1 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 45 m 16 sec
Reputation Power: 14
WAMP installation

Hey,
I dont know if this is the proper thread to post in.
But i installed wamp, and i changed the mysql root password.
Before changing the root user's password everything worked fine. Now when i try to acces phpmyadmin it says:
Quote:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)


And:
Quote:
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.


But i dont know which config.inc.php file to edit, and what i should edit. Because when i go to:c:\wamp\apps\phpmyadmin\config.inc.php the contents of the file is all scrambled and it says at the top:
Dont edit this file, edit config.inc.php instead. But it says that in the config.inc.php file itsself :S

Maybe someone knows something about this wamp installation?
thanks in advance

Reply With Quote
  #2  
Old February 25th, 2008, 06:27 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,445 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 14 h 13 m 44 sec
Reputation Power: 812
Thread moved from Apache to Scripts ... your problem is with your phpMyAdmin setup and doesn't appear to be Apache nor MySQL related.

phpMyAdmin usually has two configuration files, config.inc.php and config.inc.php.default (or something similar). The config.inc.php.default usually contains the "do not edit this file ..." line to indicate that this is the default file that should never be edited. You need to edit config.inc.php (even if it tells you otherwise) and add your new MySQL password.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old September 4th, 2008, 05:26 PM
netbob netbob is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2008
Posts: 1 netbob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 17 sec
Reputation Power: 0
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

C:\wamp\apps\phpmyadmin2.11.6\config.inc.php is the one to edit here.
Specifically the line:
$cfg['Servers'][$i]['password'] = 'XXX '; // MySQL password (only needed
Add the new mySQL pw that you used in the 'xxx' area.
Nb

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > WAMP installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT