MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 28th, 2004, 04:24 AM
Arseman03 Arseman03 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 Arseman03 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation I gave 'root' a 'password' - cant access mysql server

i saw that 'root' had no password in mysql privileges, so i gave it a password

now, i cant access the mysql server at all

i tried puting the password in the appropriate field of the config.inc.php - that didnt work

here is the error message:

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.

Error

MySQL said:


#1045 - Access denied for user: 'root@localhost' (Using password: NO)

i would appreciate it if you could help me

i am running a windows 2000 server -
- easyphp 1.7
- apache 1.3.27
- php 4.3.3
- phpmyadmin 2.5.3
- mysql 4.0.15

Reply With Quote
  #2  
Old November 30th, 2004, 11:07 PM
JiveMiguel JiveMiguel is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 JiveMiguel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try this...

Read this page from the MySQL documentation:

http://dev.mysql.com/doc/mysql/en/Resetting_permissions.html

This helped me out many times! Good luck!
-Greg

Quote:
Originally Posted by Arseman03
i saw that 'root' had no password in mysql privileges, so i gave it a password

now, i cant access the mysql server at all

i tried puting the password in the appropriate field of the config.inc.php - that didnt work

here is the error message:


i would appreciate it if you could help me

i am running a windows 2000 server -
- easyphp 1.7
- apache 1.3.27
- php 4.3.3
- phpmyadmin 2.5.3
- mysql 4.0.15

Reply With Quote
  #3  
Old December 2nd, 2004, 09:59 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
do you not remember the password? or are you just not running the command properly.

Using Password:NO usually means your not sending the password

try connecting to mysql from the commandline
mysql.exe -h127.0.0.1 -uroot -p
(the 'p' flag will make mysql.exe ask you for a password)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > I gave 'root' a 'password' - cant access mysql server


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 5 hosted by Hostway