mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
better display of server version
This commit is contained in:
@@ -171,7 +171,10 @@ const driver = {
|
||||
async getVersion(connection) {
|
||||
const { rows } = await this.query(connection, "show variables like 'version'");
|
||||
const version = rows[0].Value;
|
||||
return { version };
|
||||
return {
|
||||
version,
|
||||
versionText: `MySQL ${version}`,
|
||||
};
|
||||
},
|
||||
async listDatabases(connection) {
|
||||
const { rows } = await this.query(connection, 'show databases');
|
||||
|
||||
Reference in New Issue
Block a user