← Workbench · Notes

Connecting MySQL from command line

Open the command prompt and type the below to connect the MySQL:

mysql -u username -p

After the above command the command line will prompt you to enter the password and after entering the password you can query the database.

References

Stack Overflow, MySQL Doc

Leave a comment

I read every message before it appears here.

Keep reading

See all