Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: MYSQL Error

MYSQL Error 3 months 1 week ago #93371

  • jonespr1
  • jonespr1's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi

Following an upgrade of PHP by my host I was forced to upgrade from v1.85+ to v2.00+.

The upgrade seemed to go well, however as soon as I choose a survey I now get this error, so can't access any of my existing surveys.
---
Internal Server Error

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.
---

Any ideas on how to fix?

Thanks

Robert
The administrator has disabled public write access.

MYSQL Error 3 months 1 week ago #93375

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 4520
  • Thank you received: 472
  • Karma: 168
Hello,

Did you have access to your DB via a PHP script like phpMyAdmin ?
If yes, have you ability to copy/create another DB (because ALLWAYS make a copy before doing update ;).
If yes: you can update all table:
ALTER TABLE `dbname`.`tablename` CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci
Last Edit: 3 months 1 week ago by DenisChenu. Reason: utf8_unicode_ci because default installer use utf8_unicode_ci
The administrator has disabled public write access.

MYSQL Error 3 months 1 week ago #93397

  • jonespr1
  • jonespr1's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi

Thanks for responding, I tried a script which used this approach and it didn't work unfortunately, but had some external support and now fixed.

Thanks

Robert
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.237 seconds
Donation Image