Forums / Install & configuration / Database setup problem / Comment61566
Russell Michell
Monday 13 September 2010 1:43:57 pm
Hi Jackson
Your database really needs to be created in UTF-8 charset. You must create it before launching Exponential setup wizard :
CREATE DATABASE `mydatabase` DEFAULT CHARACTER SET `utf8`;
If you already created your database in Latin1 charset for example, you will need to change the charset :
ALTER DATABASE `mydatabase` DEFAULT CHARACTER SET `utf8`
Jackson,
Jérôme is right but I think your problem might be that you do not have shell (direct) access to alter your database configuration - is that right? This is generally the case with many webhosts and is done for security reasons. However, most webhosts with MySQL will also have a GUI management tool like phpMyAdmin for example.
Uisng phpMyAdmin you are able to run the necessry SQL commands as Jérôme describes either by pasting them into a text-field or by pointing and clicking.
There are many, many phpMyAdmin tutorials and how-to's out there so check first that you have it installed on your host, and then go looking for how to convert/create a DB in it with UTF-8 encoding.
Good luckRuss
Russell Michell, Wellington, New Zealand. We're building! http://www.theruss.com/blog/ I'm on Twitter: http://twitter.com/therussdotcom Believe nothing, consider everything.