Home > Database > Mysql Tutorial > Ubuntu Navicat for MySQL安装和使用

Ubuntu Navicat for MySQL安装和使用

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:56:45
Original
1366 people have browsed it

Ubuntu Navicat for MySQL安装:1,Navicat for MySQL官方下载2,下载后 解压tar文件tar -zxvf navicat8_mysql_en.tar.gz3,解压后进

Ubuntu Navicat for MySQL安装:

1,Navicat for MySQL官方下载

2,下载后 解压tar文件
tar -zxvf navicat8_mysql_en.tar.gz

3,解压后进入解压后的目录运行

./start_navicat

即可成功运行

但是连接上数据库后里面的中文数据是乱码,找了下原因,把ubuntu的字符集修改为zh_CN.utf8就行了,修改方法:

1,查看系统支持的字符集
locale -a
结果:
feng@feng:~$ locale -a
C
en_AU.utf8
en_BW.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_ZW.utf8
POSIX
zh_CN.utf8
zh_HK.utf8
zh_SG.utf8
zh_TW.utf8

2,修改字符集
export LANG=zh_CN.utf8

修改后,,可以通过 locale 查看下当前的字符集

linux

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template