sdqgycjy 发表于 2012-7-30 16:49:53

军哥,求救啊。

Stoping LNMP...
Nginx program is stop
Shutting down php_fpmdone
PHP-FPM program is stop
MySQL program is not runing!
Starting LNMP...
Nginx start successfully!
Starting php_fpmdone
PHP-FPM start successfully!
Starting MySQL...... ERROR! Manager of pid-file quit without updating file.
MySQL start successfully!



下面是日志:120730 16:39:10 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
120730 16:39:10InnoDB: Initializing buffer pool, size = 16.0M
120730 16:39:10InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file /usr/local/mysql/var/ibdata1 did not exist:
InnoDB: a new database to be created!
120730 16:39:10InnoDB: Setting file /usr/local/mysql/var/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120730 16:39:10InnoDB: Log file /usr/local/mysql/var/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
120730 16:39:10InnoDB: Log file /usr/local/mysql/var/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /usr/local/mysql/var/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
120730 16:39:10InnoDB: Started; log sequence number 0 0
120730 16:39:10 Can't start server: Bind on TCP/IP port: Address already in use
120730 16:39:10 Do you already have another mysqld server running on port: 3306 ?
120730 16:39:10 Aborting

120730 16:39:10InnoDB: Starting shutdown...
120730 16:39:16InnoDB: Shutdown completed; log sequence number 0 44233
120730 16:39:16 /usr/local/mysql/libexec/mysqld: Shutdown complete

120730 16:39:16 mysqld_safe mysqld from pid file /usr/local/mysql/var/aaefwfw.pid ended

军歌,帮忙忙啊。。

sdqgycjy 发表于 2012-7-30 17:35:40

现在启动成功了。。但是root还是登陆不了。

mysql -u root提示:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor

sdqgycjy 发表于 2012-7-30 17:59:27

军歌,行了。我解决了。。哎,搞了一下午。。。
页: [1]
查看完整版本: 军哥,求救啊。