首页 > 数据库技术 > 详细

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

时间:2017-12-11 10:16:22      阅读:1189      评论:0      收藏:0      [点我收藏+]

标签:pan   isa   linu   mage   exp   aio   memory   compress   bsp   

查看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

标签:pan   isa   linu   mage   exp   aio   memory   compress   bsp   

原文:https://www.cnblogs.com/mrszhou/p/8021759.html

(0)
(0)
   
举报
评论 一句话评论(0
0条  
登录后才能评论!
© 2014 designnerd.net 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号