码迷,mamicode.com
首页 > 数据库 > 详细

解决安装yum -y install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel后无法连接mysql

时间:2017-12-11 11:31:05      阅读:1026      评论:0      收藏:0      [点我收藏+]

标签:post   mysql日志   nod   for   技术分享   .com   usr   mys   orm   

查看mysqld.log 日志:

技术分享图片

mysql日志
171210 19:38:22 [Note] Plugin ‘FEDERATED‘ is disabled.
171210 19:38:22 InnoDB: The InnoDB memory heap is disabled
171210 19:38:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
171210 19:38:22 InnoDB: Compressed tables use zlib 1.2.3
171210 19:38:22 InnoDB: Using Linux native AIO
171210 19:38:22 InnoDB: Initializing buffer pool, size = 128.0M
171210 19:38:22 InnoDB: Completed initialization of buffer pool
171210 19:38:22 InnoDB: highest supported file format is Barracuda.
171210 19:38:22  InnoDB: Waiting for the background threads to start
171210 19:38:23 InnoDB: 5.5.55 started; log sequence number 1589339
171210 19:38:23 [ERROR] /usr/libexec/mysqld: unknown variable ‘default-character-set=utf8‘
171210 19:38:23 [ERROR] Aborting  
171210 19:38:23  InnoDB: Starting shutdown...
171210 19:38:24  InnoDB: Shutdown completed; log sequence number 1589339
171210 19:38:24 [Note] /usr/libexec/mysqld: Shutdown complete

发现是编码问题:

 技术分享图片

修改该文件:

技术分享图片

 

解决安装yum -y install make gcc g++ gcc-c++ libtool autoconf automake imake mysql-devel libxml2-devel expat-devel后无法连接mysql

标签:post   mysql日志   nod   for   技术分享   .com   usr   mys   orm   

原文地址:http://www.cnblogs.com/mrszhou/p/8021759.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!