Hello, and sorry, there were a lots of typos in my previous message.
I think now the issue it's unrelated to the mysql version, I have another moodle instance in the same server configuration and glossary runs fine. I've noticed the error happens when you enter the glossary and it has to show entries. You can import entries, and create entries, and they are created/stored in th DB, they are just not showing. Any hints and help will be appreciated.