Networking-Forums.com

Professional Discussions => Programming Goodies and Software-Defined Networking => Topic started by: nikolaymartin on May 18, 2020, 10:42:45 AM

Title: How to list databases from Linux command list?
Post by: nikolaymartin on May 18, 2020, 10:42:45 AM
I have a mariadb database and I want to list existing databases from the linux command line.
Title: Re: How to list databases from Linux command list?
Post by: deanwebb on May 18, 2020, 11:49:03 AM
Excellent question, O Questionbot!

https://mariadb.com/kb/en/show-databases/

Looks like "Show Databases" is the way to go here. :smug:
Title: Re: How to list databases from Linux command list?
Post by: edizgeorgi on May 19, 2020, 09:37:31 AM
You can use mysql command like below. For more information look https://www.networking-forums.com/programming-goodies-and-software-defined-networking/how-to-list-databases-from-linux-command-list
Title: Re: How to list databases from Linux command list?
Post by: deanwebb on May 19, 2020, 12:28:45 PM
Hold on there, you didn't put a mysql command in there! Also, are you saying mariadb and mysql use the same command set?