info数据库信息
优质
小牛编辑
133浏览
2023-12-01
info
获得数据库的信息.
info()Return: [string]返回数据库相关信息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)*/