Tunavicatformysql installation: 1. navicatformysqlofficial downloads 2. decompress the tar-zxvfnavicat8_mysql_en.tar.gz 3 tar-zxvfnavicat8_mysql_en.tar.gz. /start_navicat can be successfully run, but after connecting to the database, the Chinese data is garbled. Find the cause and change the ubuntu character set to zh_CN.utf8,
Ubuntu Navicat for MySQL installation:
1. Navicat for MySQL official download
2. decompress the tar file after the download.
Tar-zxvf navicat8_mysql_en.tar.gz
3. decompress the package and run it in the decompressed directory.
./Start_navicat
You can run it successfully.
However, after connecting to the database, the Chinese data is garbled. After finding the cause, change the ubuntu character set to zh_CN.utf8. The modification method is as follows:
1. view supported character sets.
Locale-
Result:
Feng @ feng :~ $ Locale-
C
En_AU.utf8
En_b1_utf8
En_CA.utf8
En_DK.utf8
En_GB.utf8
En_HK.utf8
En_IE.utf8
En_IN
En_NZ.utf8
En_PH.utf8
En_SG.utf8
En_US.utf8
En_ZA.utf8
En_z1_utf8
POSIX
Zh_CN.utf8
Zh_HK.utf8
Zh_SG.utf8
Zh_TW.utf8
2. Modify Character Set
Export LANG = zh_CN.utf8
After modification, you can view the current character set through locale