How to access MySQL command line?
Posted: 08. August 2008 18:16
How can I access the mysql console? I have tried from windows command prompt, but it refuses to let me in...
https://community.apachefriends.org/f/
https://community.apachefriends.org/f/viewtopic.php?f=16&t=30703
mysql --user=username --password=passwd database
mysql --user=username --password=passwd --host=hostname database
Nobbie wrote:To enter the command line mode you must enter this command in a cmd:
- Code: Select all
mysql --user=username --password=passwd database
where "username" is a valid MySQL User, "passwd" is the password of "username" and "database" is a valid Database in MySQL.