AntonyP wrote:Query show variables like 'character_set%', character_set_database latin1
character_set_server latin1
So, there are variables from Linux machine.
You should also specify the utf8 encoding for both database and server.
You may use command:
Code: Select all
ALTER DATABASE _Your_DatabaseName_ CHARACTER SET UTF8;
to set encoding for the database.
To set encoding for the server you should make minor changes in my.ini file (on Windows). On Linux you should do the same changes in my.cnf, but I am not sure.
1. Section [mysql]
Add (or change) the following line: default-character-set=utf8
2. Section [mysqld]
Add (or change) the following line: default-character-set=utf8
Restart the MySql server after changes.
Please note: I suppose, you should backup all databases before making changes, just in case.
Query show variables like 'character_set%' now should output:
character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_results utf8
character_set_server utf8
character_set_system utf8
character_sets_dir /usr/share/mysql/charsets/
With foregoing configuraion, HostMonitor works correctly with international characters, like greeks.
To test it you may use ODBC Query test window and prepare several INSERTs with natinal characters and then query SELECT for appropriate values.
Regards,
Max