mysql.information_schema.SERVER_INFORMATION.sql Maven / Gradle / Ivy
SELECT
'database' AS NAME,
database() AS VALUE,
'MySQL database name' AS DESCRIPTION
UNION
SELECT
'server_uuid' AS NAME,
@@server_uuid AS VALUE,
'Server UUID' AS DESCRIPTION
UNION
SELECT
'hostname' AS NAME,
@@hostname AS VALUE,
'Host name' AS DESCRIPTION