Can anyone tell me how to connect to MySQL?
How to use cPanel to connect to MySQL remotely?
Collapse
X
-
Please follow these instructions to access your MySQL database:
1) Use Secure Shell to log into your Linux web server.
2) On the server, go to the /usr/bin directory and launch the MySQL client software.
3) Enter the syntax shown below to access your database:
$ mysql -h 'hostname' 'username' 'p 'databasename'
Your password is the password.
hostname: The name of the MySQL server to which you have been allocated, such as mysql4.safesecureweb.com
databasename: Your MySQL database's name
password: The login information for your MySQL database
Important Note: You can also download a graphical MySQL client to your desktop computer and use it to access your database from a distance. You may find the client on the MySQL website.
Comment
Comment