Open geudrik opened 7 years ago
What about regular MySQL?
That did indeed fix the issue... which is weird. But 👍
That's weird indeed, provided it's supposed to be a drop-in replacement. The exception doesn't make a lot of sense :-) I can see if we can do MariaDB database unit tests in the future though, along with a fix for whatever is the actual issue here of course.
Agreed... so much for "drop in" if it's an engine issue. Let me know if you need me to test!
Will keep the issue open for the moment as a reminder :-)
This looks like it's more specific to MariaDB on Debian. On Debian installs it defaults to utf8mb4 character sets rather than latin1 (mysql and mariadb on other distros), which leads to key size issue on name.
https://mariadb.com/kb/en/mariadb/differences-in-mariadb-in-debian-and-ubuntu/
Cuckoo should probably just specify the character sets when creating the database and tables rather than rely on system defaults if expected to be latin1.
Nice job hunting down the cause - I hadn't investigated after switching over to MySQL
@rholloway this command fixed the problem that you figured out.
ALTER DATABASE <database_name> CHARACTER SET = 'utf8' COLLATE =
'utf8_bin';
`
Cuckoo==2.0.2
Fresh install, maria DB on Ubuntu 16.04. Happens when I try to start cuckoo or run clean