[root@MY-WEB mysql]# bin/mysqld_safe --user=mysql&
[1] 7067
[root@MY-WEB mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/YN-WEB.pid
111220 12:58:17 mysqld ended YN_WEB.pid 里面的错误111220 12:58:12  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
111220 12:58:12  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
111220 12:58:13  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...
111220 12:58:14  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
111220 12:58:15  InnoDB: Started; log sequence number 0 0
111220 12:58:15 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
111220 12:58:15 [ERROR] Do you already have another mysqld server running on port: 3306 ?
111220 12:58:15 [ERROR] Aborting111220 12:58:15  InnoDB: Starting shutdown...
111220 12:58:17  InnoDB: Shutdown completed; log sequence number 0 43655
111220 12:58:17 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete111220 12:58:17  mysqld ended求助各位大侠 该怎么解决

解决方案 »

  1.   

     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    悲催。 我在虚拟机里都装不上  yum install mysql  报错
      

  2.   

    ps -ef |grep mysql
    看看是否已经启动了一个服务占用了3306.如果是,KILL -9杀了。