万答#21,如何查看 MySQL 数据库一段时间内的连接情况
查看方式●已知至少有两种方式可以实现1.开启generallog就可以观察到●开启命令mysql>setglobalgenerallogON;●执行一些操作[rootmgr2]mysqluGreatSQLpGreatSQLh192.168.6.217P3306mysql>usetest;mysql>showtables;++Tablesintest++bookstudentt1++3rowsinset(0.01sec)mysql>selectfromt1;+++idname+++1哈哈2你好3呵呵+++5rowsinset(0.00sec)mysql>deletefromtest.t1whereid4;QueryOK,1rowaffected(0.02sec)●查看generallog日...