https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-create-database
SHOW CREATE DATABASE | Server | MariaDB Documentation
View the CREATE DATABASE statement. This statement returns the SQL syntax required to recreate a specific database with its current options.
show create databaseservermariadbdocumentation