Error when using MySQL 8.0.12

196 views
Skip to first unread message

Marcos Fernandes de Sousa Júnior

unread,
Sep 4, 2018, 1:43:04 PM9/4/18
to Orthanc Users
I keep getting:
E0904 14:22:53.409078 PluginsManager.cpp:164] Unsupported MySQL charset: 255

When using MySQL 8.0.12 as an index for the latest version of Orthanc's compiled source code.

I created the DB using the following command:
CREATE DATABASE `databasename` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

weirdly enough Orthanc even manages to create the whole database structure but it stops before properly working(it can't be accessed from the address bar).
I tried messing with some settings in the my.ini file but it didn't help...

Any tips? Is that a known bug? Can anyone confirm that orthanc actually works with this version of MySQL?

















I had another problem earlier that was also related to the new MySQL version:
E0904 13:19:49.479970 PluginsManager.cpp:164] MySQL error (2059,HY000): Plugin caching_sha2_password could not be loaded: Não foi possível encontrar o módulo especificado. Library path is '/caching_sha2_password.dll'
Which i managed to avoid by explicitly creating a new user and using the native hashing using:

CREATE USER 'user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

Sébastien Jodogne

unread,
Sep 5, 2018, 2:08:38 AM9/5/18
to Orthanc Users
Hello,

You are most probably not using the 1.1 version of the MySQL plugin, that introduced a fix for MySQL 8.0:

Sébastien-

Djiinbables XD

unread,
Sep 5, 2018, 1:48:57 PM9/5/18
to Sébastien Jodogne, orthan...@googlegroups.com
Thank you! Is there a place where i can download the latest version of the 64bit .dll or do i have to download the source and build it myself?
--

Sébastien Jodogne

unread,
Sep 6, 2018, 2:27:57 AM9/6/18
to Orthanc Users
I have just put precompiled binaries at the following location ("OrthancMySQL-1.1-Index64.dll"):

Djiinbables XD

unread,
Sep 6, 2018, 1:42:36 PM9/6/18
to Sébastien Jodogne, orthan...@googlegroups.com
Awesome man, thank you very much!
Reply all
Reply to author
Forward
0 new messages