Hi!
Ich habe folgende sqlabfrage versucht und es klappt:
SHOW CREATE DATABASEdatabasenameZ.B.example
SHOW CREATE TABLEtablenameZ.B.test
Das ist aber umständlich, weil die gewünschte Information nun noch aus einem String zu parsen ist.
show variables like "character_set_database";
show variables like "collation_database";
Damit bekommt man nur die Server-Default-Werte für neue anzulegende Datenbanken.
Lo!