query('SELECT VERSION()')->fetchColumn(); $dbSize = $pdo->query("SELECT ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS size_mb FROM information_schema.tables WHERE table_schema = '$dbName'")->fetchColumn(); $tableCount = $pdo->query("SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '$dbName'")->fetchColumn(); } catch (Exception $e) { $dbError = $e->getMessage(); } require_once __DIR__ . '/../templates/header.php'; ?>

/ IP
MB