Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2003
    Posts
    397

    Default Mysql 4.1 wrong char

    Hi

    i have upgrade my server from mysql 4.0 to 4.1 but now a lot of site display a wrong text, all the letter with à è ù are as "ù " how can i fix this problem?

    Thanks

  2. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Try adding

    Code:
    [mysqld]
    init-connect=SET NAMES binary
    to my.cnf

    Then restart mysql.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2003
    Posts
    397

    Default

    I have try with init-connect=SET NAMES utf8 but i still have the same error

  4. #4
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    UTF-8 won't work, because those characters are ISO. Did you try "binary"?

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    38

    Default

    which one my.cnf i have /etc/my.cnf and /user/local/cpanel/whostmgr

    My joomla installation creates latin1_swedish_ci collation
    Last edited by dyrer; 05-28-2006 at 01:01 PM.

  6. #6
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Quote Originally Posted by dyrer
    which one my.cnf i have /etc/my.cnf and /user/local/cpanel/whostmgr

    My joomla installation creates latin1_swedish_ci collation
    /etc/my.cnf

    latin1_swedish_ci collations are exactly why utf-8 won't work. Unless you want to convert your database to utf-8, which could be messy if there are special keys within the database.

  7. #7
    Member
    Join Date
    Jun 2005
    Posts
    38

    Default

    how can convert it?
    is this needed ?
    init-connect=SET NAMES binary

Similar Threads & Tags
Similar threads

  1. X3 Self Signed SSL form adjust state field to 3+ char
    By inetbizo in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 07-14-2011, 08:48 AM
  2. Column count of mysql.db is wrong upgrading mySQL
    By Metro2 in forum Database Discussions
    Replies: 16
    Last Post: 05-05-2010, 10:16 AM
  3. Replies: 1
    Last Post: 03-02-2009, 05:26 AM
  4. MySQL using wrong config?
    By annamarie in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-03-2008, 10:22 PM
  5. wrong mysql version
    By jkt in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-25-2004, 08:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube