information_schema.routines.database_collation

mysql

type: VARCHAR NOT NULL
5.7-8

mariadb

type: NULL
Note:
The default collation (and character set) for the database, at the time the routine was created.
© 2022 MariaDB
5.1-10.8
type: VARCHAR NOT NULL
Note:
The default collation (and character set) for the database, at the time the routine was created.
© 2022 MariaDB
10.2-10.7

tidb

postgres

cockroachdb

mssql