SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: MySQL
-
Sep 23, 2000, 07:38 #1
- Join Date
- Jul 2000
- Posts
- 26
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Need Help on MySQL
Well, I got MYSQL loaded on my server, and things are going good. Now, I am trying to follow the documentation of setting the root password by going to the bin directory typing: mysqladmin -u root -p password "my password"
And then it would say Enter password: I do not know how to get through this part, or what the password would be. I tried putting in my password that I was trying to set it to, but that did not work and it printed:
mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: YES)'
Please help! Thank you! :-)Devin McLean
http://dreamer.spacecoast.com
-------------------------
-
Sep 23, 2000, 08:31 #2
- Join Date
- Apr 2000
- Location
- Melbourne, Australia
- Posts
- 2,571
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
The command you should be using is:
mysqladmin -u root password "my password"
Notice no "-p". This argument essentially says "prompt me for my password"; however, since the root account doesn't yet have a password, you don't want to try to connect using one.
See here for more detailed instructions.
Kevin Yank
CTO, sitepoint.com
I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
Baby’s got back—a hard back, that is: The Ultimate CSS Reference
-
Sep 23, 2000, 10:19 #3
- Join Date
- Jul 2000
- Posts
- 26
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ok, I'll do that, thank you!
Devin McLean
http://dreamer.spacecoast.com
-------------------------
Bookmarks