1267 illegal mix of collations error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tempus
    Junior Member
    • Apr 2017
    • 8

    1267 illegal mix of collations error

    Hallo
    After installation appears General error 1267 illegal mix of collations.
    Simptoms - problems on load with mail and cases functionality.
    I am using ukrainian version.
  • tempus
    Junior Member
    • Apr 2017
    • 8

    #2
    Can some body help?

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      Hi
      Check database tables CHARACTER and COLATE

      Tutorials and example on Java Programming language(JSP, Servlet, Mysql, Oracle, Database, Blackberry, Android, Swing, Google Maps, Free Java Hosting)

      Comment

      • tempus
        Junior Member
        • Apr 2017
        • 8

        #4
        Most changes they advice are in the core code (not a good idea for me I think) or in MySql server (but I use virtual hosting and don't have so much privileges)
        I have tried out changing collations in the data base, but got "Bad server responce" and white screen in the browser.

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #5
          Hello
          I just shown you as example normal table charset configuration.
          It was not a guide to modify configuration of your mysql server.
          But if it was needed you could change it.

          After any new Bad server response check logs (espocrm (data/logs) and apache error) to know more information about error

          Comment

          • tempus
            Junior Member
            • Apr 2017
            • 8

            #6
            Thanks. My logs are full of this two types of the errors:

            [2017-04-21 08:43:19] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='" at /application/Espo/ORM/DB/Mapper.php line 115 {"exception":"[object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' at /application/Espo/ORM/DB/Mapper.php:115)"} []

            [2017-04-21 08:50:00] Espo.ERROR: CronManager: Failed job running, job [58f9c0b05c71a9600]. Error Details: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' [] []

            Thinking how to fix. Should I make some changes in Mapper.php on line 115?

            Comment

            • tanya
              Senior Member
              • Jun 2014
              • 4308

              #7
              Could tell me the MySQL version and server collation and charset?

              Comment

              • tempus
                Junior Member
                • Apr 2017
                • 8

                #8
                Database server

                • Software: MySQL
                • Software version: 5.5.28-log - Source distribution
                • Protocol version: 10
                • Server charset: UTF-8 Unicode (utf8)
                Server connection collation utf8_general_ci

                In tables and columns I have utf8_general_ci and utf8_unicode_ci

                Comment

                • tanya
                  Senior Member
                  • Jun 2014
                  • 4308

                  #9
                  Change all tables and columns collation to utf8_unicode_ci
                  But create the dump of database before.

                  Comment

                  • Syn Gates
                    Junior Member
                    • Apr 2017
                    • 5

                    #10
                    Thanks for your support!

                    Comment

                    Working...