How do I connect to MySQL from the telnet command prompt?

When you are logged into telnet you are presented with a prompt:

prompt:>

At the prompt type:

prompt:>mysql -h localhost -u user_dbuser -p user_dbname

The variables are as follows:

-h = hostname = 127.0.0.1 or localhost

-u = database username = Your main accounts usernamefollowed by _ (underscore) and the new user you have created for your database in the control panel.

-p = database to connect to using password = Your main account user followed by an underscore and the name of your database which you created.


If you have any suggestions for or problems with this website, please e-mail
support@mercuryd.com