1 Answer
- Newest
- Most votes
- Most comments
1
Once you're logged into the MariaDB command line, you can list all databases with the following SQL command:
SHOW DATABASES;
This will show you a list of all the databases on your MariaDB instance.
To list all users, you can use the following SQL command:
SELECT User,Host FROM mysql.user;
This will show you a list of all the user IDs and the hosts they're associated with.
Relevant content
- asked a year ago
- Accepted Answerasked a year ago
- asked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago