protected function listMySQLDatabases()
    {
        $databases = $this->fetchMySQLDatabases();

        if ($this->option('dump')) {
            dump($databases);
        }

        if (empty($databases)) {
            $this->error('No databases found.');
            die();
        }

        $headers = ['Id', 'Server Id','Name','Status','Created at'];

        $rows = [];
        foreach ($databases as $database) {
            $rows[] = [
                $database['id'],
                $database['serverId'],
                $database['name'],
                $database['status'],
                $database['createdAt']
            ];
        }

        $this->table($headers, $rows);
    }