在redhat5.5下,安装mysql,安装结束却不能启动,内容如下:
[root@localhost mysql]# /usr/local/mysql/bin/mysqld_safe &
[1] 4477
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/localhost.localdomain.pid
110510 17:00:04 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe
[root@localhost mysql]#
然后我查看了一下var下面的错误日志,如下
[root@localhost mysql]# vi /usr/local/mysql/var/localhost.localdomain.err
110510 16:49:20 mysqld started
110510 16:49:20 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
110510 16:49:20 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
110510 16:49:20 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110510 16:49:20 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...
110510 16:49:20 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
110510 16:49:20 InnoDB: Started; log sequence number 0 0
110510 16:49:20 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
我是个新手,不知道怎么办,高手帮忙看看
分享至: