Jump to content

Recommended Posts

each time i fire up the mysql console, it always asks for the default root password.

then i just learned how to add new users a few hours ago.

the problem now is, how am i gonna make my wamp mysql console to ask for username and password?

so that i can test my newly added user accounts.  ???

Link to comment
https://forums.phpfreaks.com/topic/119949-solved-mysql-help-part-2/
Share on other sites

Open up the command line terminal by going to Start > Run > cmd

 

Now type the following command

mysql -u YOUR_USERNAME -p

and press enter (change YOUR_USERNAME to what ever your new user is). MySQL will then ask for the password. Enter your password and press enter. If successful you'll be logged in as the new user.

 

NOTE: before using the mysql command you may have to navigate to MySQL's bin folder first, to do so run this command first

cd C:\wamp\mysql\bin

now press enter. The command prompt should now read

C:\wamp\mysql\bin>

Now run through the steps above.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.