How will you connect to a database server from Linux?

How will you connect to a database server from Linux?
Answer
In order to access your MySQL database, please follow these steps:
  1. Log into your Linux web server via Secure Shell.
  2. Open the MySQL client program on the server in the /usr/bin directory.
  3. Type in the following syntax to access your database: $ mysql -h {hostname} -u username -p {databasename} Password: {your password}
 

Tìm kiếm

Back
Top