Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Aug 10, 2012 12:28 am 
Offline

Joined: Fri Aug 10, 2012 12:21 am
Posts: 1
I'm new to hosting web-sites on Linux (Ubuntu 12.04). I decided to give it a go for a learning experience.
I've already learned a lot and have most of it setup, but I'm lost on this error "Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)"
My site used to be hosted using XAMPP on Windows and it worked fine.
I'm not even sure what the error means and none of my site code has changed.

I modified my MySQL my.cfg and added the following:

Code:
[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-handshake


I've also confirmed the results using mysql->show variables like '%char%';
Code:
+--------------------------+----------------------------+
| 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/ |
+--------------------------+----------------------------+


However I'm still getting that error. Any ideas? Help appreciated, thanks :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group