How do I find my database in terminal?

How do I find my database in terminal?
Answer
To list all databases in MySQL, run the following command:
mysql> show databases ; This command will work for you no matter if you have an Ubuntu VPS or CentOS VPS. If you have other databases created in MySQL, they will be all listed here.
 

Tìm kiếm

Back
Top