Welcome 微信登录

首页 / 数据库 / MySQL / Ubuntu 12.04 MySQL改utf-8 启动不了

Ubuntu 12.04 MySQL改utf-8 启动不了default-character-set=utf8报错: start mysql. The restart(8) utility is also available.
start: Job failed to start这么写OK了: On MySQL 5.5 I have in my.cnf[mysqld]
init_connect="SET collation_connection = utf8_unicode_ci"
init_connect="SET NAMES utf8"
character-set-server=utf8
collation-server=utf8_unicode_ci
skip-character-set-client-handshakeResult is mysql> show variables like "%character%";show variables like "%collation%";+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | utf8                       |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | utf8                       |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)+----------------------+-----------------+
| Variable_name        | Value           |
+----------------------+-----------------+
| collation_connection | utf8_unicode_ci |
| collation_database   | utf8_unicode_ci |
| collation_server     | utf8_unicode_ci |
+----------------------+-----------------+
3 rows in set (0.00 sec)Oracle 中并行度的设置需要考虑的因素Oracle 10204 64 bit on aix 5.3 nbu 备份问题相关资讯      Ubuntu 12.04 
  • Ubuntu 12.04.5 LTS 发布,赶快升  (08/09/2014 07:22:42)
  • 网络电视软件 TV-Maxe 0.09 发布附  (04/20/2014 20:33:17)
  • Ubuntu 12.04和14.04两大版本性能  (02/14/2014 12:03:01)
  • Ubuntu 12.04.5 将在8月7号发布  (07/15/2014 16:37:58)
  • Ubuntu 12.04 LTS安装后3件必须做  (04/13/2014 08:17:09)
  • Ubuntu 12.04.4 发布下载  (02/07/2014 09:25:56)
本文评论 查看全部评论 (0)
表情: 姓名: 字数