Support Knowledge Base
Knowledge Base: mySQL database

 

 

 

8. What are the Telnet commands to access mySQL? - Top

 

Use the following outline to connect and begin querying the mySQL server from a Telnet. Remember that you cannot connect to your databases remotely due to security concerns, you can only connect from localhost.

1. Connect to the mySQL Server
servername:> mysql -u USERNAME -p
Enter Password: PASSWORD

2. Connect to the Database
mysql> use DATABASENAME;

3. Receiving Help
mysql> help

- Updated: May 8, 2000
 

 

[e-Mail me the FAQs]    -     [Search our FAQs]