Announcement

Collapse
No announcement yet.

SQLSTATE[HY000]: General error: 1271 Illegal mix of collations for operation 'UNION'

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SQLSTATE[HY000]: General error: 1271 Illegal mix of collations for operation 'UNION'

    Espo.ERROR: (HY000) SQLSTATE[HY000]: General error: 1271 Illegal mix of collations for operation 'UNION'; GET /api/v1/GlobalSearch?q=rodrigo&maxSize=10&offset=0&orderBy =&order=; line: 149, file: /var/www/html/espocrm/application/Espo/Services/GlobalSearch.php

    Global search returning error. What should I do?

    All my tables using the same collation, as you can see below.

    Click image for larger version

Name:	Capturar.JPG
Views:	1311
Size:	67.7 KB
ID:	59442

    Thanks
    Attached Files

  • #2
    Solved. the columns where not on the same collation.

    Comment


    • #3
      Originally posted by rodrigocoelho View Post
      Solved. the columns where not on the same collation.
      Are you able to elaborate in case I run into this issue in the future. Not sure how you solve the issue at this stage.

      Comment


      • #4
        I used a program to browse the database (HEIDISQL), and saw that, even the tables showing the same collation, the columns inside some tables were using a different one. So, using the HEIDISQL, I changed that columns collation as well

        Comment

        Working...
        X