启动后显示:
[root@ZL ~]# Starting mysqld daemon with databases from /usr/local/mysql5.0.45/var
STOPPING server from pid file /usr/local/mysql5.0.45/var/ZL.pid
090123 19:04:01 mysqld ended
查看日志:less /var/log/mysqld.log
显示如下:
090123 17:05:39 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
090123 17:05:39 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
090123 17:05:40 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
090123 17:05:40 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
090123 17:05:41 InnoDB: Started; log sequence number 0 0
/usr/libexec/mysqld: ready for connections.
Version: '4.1.20' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
090123 17:11:48 [Note] /usr/libexec/mysqld: Normal shutdown
090123 17:11:48 InnoDB: Starting shutdown...
090123 17:11:50 InnoDB: Shutdown completed; log sequence number 0 43634
090123 17:11:50 [Note] /usr/libexec/mysqld: Shutdown complete
090123 17:11:50 mysqld ended
090123 17:14:02 mysqld started
090123 17:14:03 InnoDB: Started; log sequence number 0 43634
/usr/libexec/mysqld: ready for connections.
Version: '4.1.20' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
090123 17:26:21 mysqld started
090123 17:26:22 InnoDB: Started; log sequence number 0 43634
/usr/libexec/mysqld: ready for connections.
Version: '4.1.20' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution