安装完mysql之后运行service mysql start 可是刚启动立马就结束了查看日志文件 出现mysql start mysql stop启动结束时间都一样 后来发现是SELinux导致的 运行setsebool mysql_disable_trans=1 就ok了