Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marcusramberg/a2a8b7075c795738db166e343d79051d to your computer and use it in GitHub Desktop.
Save marcusramberg/a2a8b7075c795738db166e343d79051d to your computer and use it in GitHub Desktop.
connect_cached: key 'host=dev-sql01.r12.no;port=3306;database=rg!rg!NoMoreLatin1!AutoCommit='1',AutoInactiveDestroy='1',Callbacks='HASH(0x7fcd44adaeb8)',PrintError='0',RaiseError='1',Username='rg',dbi_connect_method='connect_cached',mysql_auto_reconnect='1',mysql_connect_timeout='3',mysql_enable_utf8mb4='1',sqlite_unicode='1'', cached dbh
-> STORE for DBD::mysql::db (DBI::db=HASH(0x7fcd44b85360)~INNER 'mysql_enable_utf8mb4' 1 (magic-r:p))
-> prepare for DBD::mysql::db (DBI::db=HASH(0x7fcd44b857f8)~0x7fcd44b85360 'select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1')
-> dbd_st_prepare MYSQL_VERSION_ID 50723, SQL statement: select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1
>count_params statement select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1
>parse_params statement select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1
COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8' error 1253 recorded: COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'
!! ERROR: 1253 'COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'' (err#0)
ERROR: 1253 'COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'' (err#0)
2018-08-03 11:35:28.359 +0.000 [22438] ERROR: -e:1 => DBI execution error (0.0415s): (all, array_hash) DBD::mysql::st execute failed: COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8' at ../core/lib/RG/DBI/SQL.pm line 653.
on sql: select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1 -- binds: []
DBI execution error (0.0415s): (all, array_hash) DBD::mysql::st execute failed: COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8' at ../core/lib/RG/DBI/SQL.pm line 653.
on sql: select name from destination where name like "oslo" collate utf8mb4_general_ci limit 1 -- binds: []
ERROR: 1253 'COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'' (err#0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment