How do I connect to a MySQL database?

Nguyên Lê

New member
How do I connect to a MySQL database?
Answer
To connect to MySQL from the command line, follow these steps:
  1. Log in to your A2 Hosting account using SSH.
  2. At the command line, type the following command, replacing username with your username: mysql -u username -p.
  3. At the Enter Password prompt, type your password.
 

Tìm kiếm

Back
Top