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

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 September 25th, 2000, 06:43 PM
PeteCool PeteCool is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Montreal, Québec, Canada
Posts: 3 PeteCool User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to PeteCool
I wanna change the root password, add users and change their password.

For the root part, I looked in the manual, and the described command line ( mysqladmin -u root -p password )doesn't work.
I tried many things, but I have no idea.
Any info for the 2 other things is good to know, though I can find it in the manual.
I'm using 3.23.24-beta.

Thanks for any help,

Pete

Reply With Quote
  #2  
Old September 25th, 2000, 08:40 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
OK, just to be sure:

Let's say your existing password is 'mydata' and you want a new password 'ourdata'.

The syntax is

mysqladmin -u root -p password ourdata

MySQL will prompt you for the old password with

Enter password:

And then it will update to the new password specified when calling mysqladmin.

If this didn't work, then either something is wrong with your mysql install or you somehow have the wrong existing password. When you say mysqladmin "doesn't work" its best to be specific. What error message or response did you get?

Reply With Quote
  #3  
Old September 25th, 2000, 10:07 PM
PeteCool PeteCool is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Montreal, Québec, Canada
Posts: 3 PeteCool User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to PeteCool
But I have no actual password, and when I press enter at the password prompt, i get told that access is denied. But still, I can connect to the databases without any password.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Changing user passwords?


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