Forums / Install & configuration / warning error with database character set

warning error with database character set

Author Message

donald Bart

Monday 03 March 2008 2:29:50 am

Good day,
I am trying to install the eZ publish 4.0.0, but i am stuck in the site details page, i keep getting this warning message:

"The database [db237249126] cannot be used, the setup wizard wants to create the site in [utf-8] but the database has been created using character set [iso-8859-1]. You will have to choose a database having support for [utf-8] or modify [db237249126]" .

I have check out my database character set it is not [iso-8859-1], but rather it is [utf-8], this is my MySQL charset: UTF-8 Unicode (utf8), cos i am using MySQL 5.0

I dont know what to do i have read other issues like this on the forum, and done all that is been stated but still i am stuck..

is there something i am doing wrong.

Kristof Coomans

Monday 03 March 2008 2:51:38 am

Hi Bart,

You can run the following SQL query to find out what's the default charset of your schema called db237249126:

select DEFAULT_CHARACTER_SET_NAME from information_schema.schemata where schema_name='db237249126';

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

donald Bart

Monday 03 March 2008 4:03:22 am

Hi krisof

Thanks for your reply..
I have just ran the query and the default charset is utf8
but i am still having the same problems, with the wizard.

Dont know what to do next...

Donald.

Albert De Queljoe

Tuesday 04 March 2008 10:42:34 am

Hello Donald,

I've got the same problem.. my MySQL charset is utf8... but still the warning message as you have mentioned in your post...

I've installed on two different servers with same result....

Is this a script issue or ? ....

regards

Ps. i'm using: MySQL 4.1.14
PHP Version: 5.2.0

EDIT: problem solved !

Click the database name and set "Collation" to utf8_unicode_ci ....

donald Bart

Tuesday 04 March 2008 11:55:02 pm

Hi Albert,
I am still stuck here with this warning about the charset ...
But i saw this write up, and dont know i guess i will have to try it out
to see if it works out

http://ez.no/ezpublish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

Guess to try out the configuration in this ini.
* site.ini
* i18n.ini
* template.ini

Will let you know if it works out..
But i you devise a means around it prior to me, let me know also.

Regards
Donald.

Albert De Queljoe

Wednesday 05 March 2008 1:01:01 am

Hello Donald,

Click the database name and set "Collation" to utf8_unicode_ci .. this works for me :)

Hope this will do

regards

donald Bart

Wednesday 05 March 2008 3:58:26 am

Hi Albert,

Nice to know you sorted it out..
But funny that method did not work for me,
Did change the collation setting to utf8_unicode_ci
But did not work for me...
Just dont know what next to do.

Donald

Albert De Queljoe

Wednesday 05 March 2008 7:14:26 am

Hello Donald,

Maybe you should delete the old database..make a new one and try different options in collation: - utf8_unicode_ci
- utf8_bin -----------> was reported by a member to have also solved the problem

regards

donald Bart

Wednesday 05 March 2008 8:26:31 am

Hi Albert,

Thanks for the info,
i got that sorted out...what i needed do was to
change the default character set from [latin 1] to [utf-8]
but i still am stock at the ending of the installation
it is giving me the message

The following errors were detected:

* EZSW-004Failed inserting data to mysql
Table 'ezapprove_items' already exists
* EZSW-040Failed to initialize site package 'ezwebin_site'

If you think you have fixed the errors you can try then click the "Retry" button.

still looking for a way around this

thanks.
Donald

eZ debug

Timing: Jan 18 2025 18:23:43
Script start
Timing: Jan 18 2025 18:23:43
Module start 'content'
Timing: Jan 18 2025 18:23:43
Module end 'content'
Timing: Jan 18 2025 18:23:44
Script end

Main resources:

Total runtime0.8350 sec
Peak memory usage4,096.0000 KB
Database Queries214

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0000180.8047
Module start 'content' 0.00580.6655 769.8047651.9766
Module end 'content' 0.67130.1636 1,421.7813340.4219
Script end 0.8349  1,762.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.5410210.0002
Check MTime0.00190.2332210.0001
Mysql Total
Database connection0.00070.083210.0007
Mysqli_queries0.736888.23742140.0034
Looping result0.00230.27922120.0000
Template Total0.812397.320.4061
Template load0.00210.251820.0011
Template processing0.810197.026620.4051
Template load and register function0.00020.024710.0002
states
state_id_array0.00070.084910.0007
state_identifier_array0.00060.076820.0003
Override
Cache load0.00190.2256800.0000
Sytem overhead
Fetch class attribute can translate value0.00150.177040.0004
Fetch class attribute name0.00120.1459100.0001
XML
Image XML parsing0.00110.131640.0003
class_abstraction
Instantiating content class attribute0.00000.0019100.0000
General
dbfile0.01441.7258270.0005
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
20content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 45
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs