发布时间:2014-05-28 11:13:12
MySQL 获得当前时间戳函数:current_timestamp, current_timestamp()mysql> select current_timestamp, current_timestamp();+---------------------+---------------------+| current_timestamp | current_timestamp() |+---------------------+---------------------+| 2008-08-09 23:22:24 | 2008-08-09 23:.........【阅读全文】
发布时间:2014-05-23 16:24:49
/usr/bin/pt-query-digest --user=mtop_user --password=password --port=3306 --review h=10.168.101.53,D=mysqlmtop,t=mysql_slow_query_review_2 --history h=10.168.101.53,D=mysqlmtop,t=mysql_slow_query_review_history_2 --no-report --limit=0% /data/mysql/101-56-slow.log# A software update i.........【阅读全文】
发布时间:2014-05-22 10:12:12
http://www.zrwm.com/?p=7654InnoDB: Error: Table “mysql”.”innodb_table_stats” not found.MySQL 5.6的ibdata1表空间包含了5个InnoDB基础表,如下:mysql> select table_name from information_schema.tables where table_schema='mysql' and engine='InnoDB';+----------------------+| table_name .........【阅读全文】
发布时间:2014-05-19 14:31:39
mysqldumpslow使用说明mysqldumpslow --helpUsage: mysqldumpslow [ OPTS... ] [ LOGS... ]Parse and summarize the MySQL slow query log. Options are --verbose verbose --debug debug --help .........【阅读全文】
发布时间:2014-05-12 11:16:43
安装步骤如下:tar zxvf mysql-5.5.14.tar.gz# cd mysql-5.5.14# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/webserver/mysql \ -DMYSQL_DATADIR=/data/mysql/data \ -DWITH_MYISAM_STORAGE_ENGINE=1 \ -DWITH.........【阅读全文】