WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
How do I set a password for MySQL?
Posted by:
basketcase209
(---.lightspeed.frsnca.sbcglobal.net)
Date: November 11, 2013 12:59AM
I uninstalled MySQL from my system and installed WAMP to use its built in MySQL but I can't figure out how to set the password. When I first open the console it asks for my password. I just press enter and it works.
Now how do I set the password?
Options:
Reply
•
Quote
Re: How do I set a password for MySQL?
Posted by:
RiggsFolly
(---.as13285.net)
Date: November 11, 2013 04:54PM
MySQL is documented extensively on the MySQL website.
[
dev.mysql.com
]
Edited 1 time(s). Last edit at 11/11/2013 04:55PM by RiggsFolly.
Options:
Reply
•
Quote
Re: How do I set a password for MySQL?
Posted by:
basketcase209
(---.lightspeed.frsnca.sbcglobal.net)
Date: November 11, 2013 11:27PM
I figured it out. For anyone else who was having trouble with the commands, I typed the following in after logging in without the password:
SET PASSWORD FOR 'abe'@'host_name' = PASSWORD('eagle');
Of course I had to put my own information in where it says abe, host_name and eagle.
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login