Home : Computers : Databases : MySQL : Connecting

How to Connect to a MySQL Server

To connect to a MySQL server on a local system:

mysql -u username -p
Enter password:

To connect to a MySQL server on a remote system:

mysql -h hostname -u username -p
Subscribe to us on YouTube