Select a MySQL Database on Linux via Command Line


In this video, we describe how to select a MySQL/MariaDB database in Linux via the command line.

Commands used:
mysql -u root -p
SELECT database();
USE tutorial_database;

mysql> USE tutorial_database;
Database changed

The related article for this article can be found here: https://www.liquidweb.com/kb/select-a-mysql-database-on-linux-via-command-line/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/.

To learn more about our cloud dedicated offerings, visit: https://www.liquidweb.com/products/dedicated/”

Video by: Justin Palmer


Duration: 00:01:56
Publisher: Liquid Web
You can watch this video also at the source.


Join Us