- 论坛徽章:
- 3
|
本帖最后由 tomer 于 2013-09-02 13:40 编辑
/usr/local/mysql/bin/mysqld_safe ./etc/my.cnf &
[1] 30449
[root@MYSQL1 mysql]# sed: -e expression #1, char 11: unknown option to `s'
130902 13:38:27 mysqld_safe Logging to '/usr/local/mysql/data//MYSQL1.err'.
130902 13:38:27 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/
130902 13:38:29 mysqld_safe mysqld from pid file /usr/local/mysql/data//MYSQL1.pid ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe ./etc/my.cnf
#cat /usr/local/mysql/data//MYSQL1.err
130902 13:38:27 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/
2013-09-02 13:38:28 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-09-02 13:38:28 30670 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2013-09-02 13:38:28 30670 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2013-09-02 13:38:28 30670 [Note] InnoDB: The InnoDB memory heap is disabled
2013-09-02 13:38:28 30670 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-09-02 13:38:28 30670 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-09-02 13:38:28 30670 [Note] InnoDB: Using Linux native AIO
2013-09-02 13:38:28 30670 [Note] InnoDB: Using CPU crc32 instructions
2013-09-02 13:38:28 30670 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-09-02 13:38:28 30670 [Note] InnoDB: Completed initialization of buffer pool
2013-09-02 13:38:28 30670 [Note] InnoDB: Highest supported file format is Barracuda.
2013-09-02 13:38:28 30670 [Note] InnoDB: The log sequence numbers 0 and 0 in ibdata files do not match the log sequence number 1600677 in the ib_logfiles!
2013-09-02 13:38:28 30670 [Note] InnoDB: Database was not shutdown normally!
2013-09-02 13:38:28 30670 [Note] InnoDB: Starting crash recovery.
2013-09-02 13:38:28 30670 [Note] InnoDB: Reading tablespace information from the .ibd files...
2013-09-02 13:38:28 30670 [Note] InnoDB: Restoring possible half-written data pages
2013-09-02 13:38:28 30670 [Note] InnoDB: from the doublewrite buffer...
2013-09-02 13:38:28 30670 [Note] InnoDB: 128 rollback segment(s) are active.
2013-09-02 13:38:28 30670 [Note] InnoDB: Waiting for purge to start
2013-09-02 13:38:28 30670 [Note] InnoDB: 5.6.11 started; log sequence number 1600677
2013-09-02 13:38:28 30670 [Note] NDB: Changed global value of binlog_format from STATEMENT to MIXED
2013-09-02 13:38:28 30670 [Note] NDB: NodeID is 3, management server '192.168.7.81:1186'
2013-09-02 13:38:29 30670 [Note] NDB[0]: NodeID: 3, all storage nodes connected
2013-09-02 13:38:29 30670 [Warning] NDB: server id set to zero - changes logged to bin log with server id zero will be logged with another server id by slave mysqlds
2013-09-02 13:38:29 30670 [Note] Starting Cluster Binlog Thread
2013-09-02 13:38:29 30670 [Note] Server hostname (bind-address): '*'; port: 3306
2013-09-02 13:38:29 30670 [Note] IPv6 is available.
2013-09-02 13:38:29 30670 [Note] - '::' resolves to '::';
2013-09-02 13:38:29 30670 [Note] Server socket created on IP: '::'.
2013-09-02 13:38:29 30670 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
130902 13:38:29 mysqld_safe mysqld from pid file /usr/local/mysql/data//MYSQL1.pid ended
~ |
|