version: 2.1.12
info
Get information about the database connection.
info()
Return: [array] Array of information about the connection.
print_r($database->info()); /* Array ( [server] => Uptime: 5074 Threads: 1 Questions: 15 Slow queries: 0 Opens: 67 Flush tables: 1 Open tables: 60 Queries per second avg: 0.002 [client] => mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $ [driver] => mysql [version] => 5.6.10 [connection] => localhost via TCP/IP [dsn] => mysql:dbname=test;host=127.0.0.1 ) */