执行./scripts/mysql_install_db --user=mysql这句命令时:Installing MySQL system tables...2013-07-27 15:04:36 1266 [Note] InnoDB: The InnoDB memory heap is disabled
2013-07-27 15:04:36 1266 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-07-27 15:04:36 1266 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-07-27 15:04:36 1266 [Note] InnoDB: Using Linux native AIO
2013-07-27 15:04:36 1266 [Note] InnoDB: Using CPU crc32 instructions
2013-07-27 15:04:36 1266 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2013-07-27 15:04:36 1266 [Note] InnoDB: Completed initialization of buffer pool
2013-07-27 15:04:37 1266 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2013-07-27 15:04:37 1266 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2013-07-27 15:04:37 1266 [Note] InnoDB: Database physically writes the file full: wait...
2013-07-27 15:04:37 1266 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2013-07-27 15:04:39 1266 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2013-07-27 15:04:42 1266 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2013-07-27 15:04:42 1266 [Warning] InnoDB: New log files created, LSN=45781
2013-07-27 15:04:42 1266 [Note] InnoDB: Doublewrite buffer not found: creating new
2013-07-27 15:04:42 1266 [Note] InnoDB: Doublewrite buffer created
2013-07-27 15:04:42 1266 [Note] InnoDB: 128 rollback segment(s) are active.
2013-07-27 15:04:42 1266 [Warning] InnoDB: Creating foreign key constraint system tables.
2013-07-27 15:04:42 1266 [Note] InnoDB: Foreign key constraint system tables created
2013-07-27 15:04:42 1266 [Note] InnoDB: Creating tablespace and datafile system tables.
2013-07-27 15:04:42 1266 [Note] InnoDB: Tablespace and datafile system tables created.
2013-07-27 15:04:42 1266 [Note] InnoDB: Waiting for purge to start
2013-07-27 15:04:42 1266 [Note] InnoDB: 5.6.12 started; log sequence number 0
2013-07-27 15:04:42 1266 [Note] RSA private key file not found: /usr/local/mysql/data//private_key.pem. Some authentication plugins will not work.
2013-07-27 15:04:42 1266 [Note] RSA public key file not found: /usr/local/mysql/data//public_key.pem. Some authentication plugins will not work.
2013-07-27 15:04:43 1266 [Warning] InnoDB: Cannot open table mysql/innodb_table_stats from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
ERROR: 1146  Table 'mysql.innodb_table_stats' doesn't exist
2013-07-27 15:04:43 1266 [ERROR] Aborting2013-07-27 15:04:43 1266 [Note] Binlog end
2013-07-27 15:04:43 1266 [Note] InnoDB: FTS optimize thread exiting.
2013-07-27 15:04:43 1266 [Note] InnoDB: Starting shutdown...
2013-07-27 15:04:45 1266 [Note] InnoDB: Shutdown completed; log sequence number 1600607
2013-07-27 15:04:45 1266 [Note] ./bin/mysqld: Shutdown complete是哪里的问题呢?谢谢MySQLRed Hat

解决方案 »

  1.   

    我下的mysql-5.5.25.tar.gz安装的,为什么这个不行,非要用rpm呢?
      

  2.   

    我的安装步骤如下:
    1、groupadd mysql
    useradd -g mysql mysql
    2、tar xvfz mysql-5.1.38.tar.gz
    3、./scripts/mysql_install_db --user=mysql
    4、chown -R root:mysql
    chown -R mysql:mysql data
    5、./bin/mysqld_safe --user=mysql &请问怎么完全卸载呢?把mysql主目录删了就可以吗?
      

  3.   

    ERROR: 1146  Table 'mysql.innodb_table_stats' doesn't exist