第一次发帖,不知道大神会不会理我,跪求啊。Mysql启动不了
[root@host ~]#  service mysqld start
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
[root@host ~]# less /var/log/mysqld.log2018-05-11 08:48:57 2609 [Note] Plugin 'FEDERATED' is disabled.
2018-05-11 08:48:57 2609 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-05-11 08:48:57 2609 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-11 08:48:57 2609 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-11 08:48:57 2609 [Note] InnoDB: Memory barrier is not used
2018-05-11 08:48:57 2609 [Note] InnoDB: Compressed tables use zlib 1.2.32018-05-11 08:48:57 2609 [Note] Plugin 'FEDERATED' is disabled.
2018-05-11 08:48:57 2609 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-05-11 08:48:57 2609 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-11 08:48:57 2609 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-11 08:48:57 2609 [Note] InnoDB: Memory barrier is not used
2018-05-11 08:48:57 2609 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-05-11 08:48:57 2609 [Note] InnoDB: Using Linux native AIO
2018-05-11 08:48:57 2609 [Note] InnoDB: Using CPU crc32 instructions
2018-05-11 08:48:57 2609 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-05-11 08:48:57 2609 [Note] InnoDB: Completed initialization of buffer pool
2018-05-11 08:48:57 2609 [Note] InnoDB: Highest supported file format is Barracuda.
2018-05-11 08:48:57 2609 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-11 08:48:57 2609 [Note] InnoDB: Waiting for purge to start
2018-05-11 08:48:57 2609 [Note] InnoDB: 5.6.40 started; log sequence number 1625987
2018-05-11 08:48:57 2609 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: ab6861d5-5519-11e8-8873-aaaa000e7b11.
2018-05-11 08:48:57 2609 [Note] Server hostname (bind-address): '*'; port: 3306
2018-05-11 08:48:57 2609 [Note] IPv6 is available.
2018-05-11 08:48:57 2609 [Note]   - '::' resolves to '::';
2018-05-11 08:48:57 2609 [Note] Server socket created on IP: '::'.
2018-05-11 08:48:57 2609 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
2018-05-11 08:48:57 2609 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2018-05-11 08:48:57 2609 [ERROR] Aborting2018-05-11 08:48:57 2609 [Note] Binlog end
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'partition'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2018-05-11 08:48:57 2609 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'

解决方案 »

  1.   

    我是Linux小白 ,大神帮帮忙啊
      

  2.   

    2018-05-11 08:48:57 2609 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
    2018-05-11 08:48:57 2609 [ERROR] Do you already have another mysqld server running on port: 3306 ?
    3306端口被占用,说明可能已经有一个mysql服务器已经启动了。
      

  3.   

    2018-05-11 08:48:57 2609 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use楼上正解
      

  4.   

    你好 ,mysql端口3306已被占用。请先关闭在重启,systemctl restart mysqld