mysql -u root -p; 是利用root用户登陆mysql
show databases;是展示所有数据库
use xxx; 是使用xxx数据库
show tables;是展示所有表
show variables like 'character_set_%'; 查看字符集
show variables like 'collation_%';查看字符集
关于mysql编码
http://www.ha97.com/5359.html
mysql -u root -p; 是利用root用户登陆mysql
show databases;是展示所有数据库
use xxx; 是使用xxx数据库
show tables;是展示所有表
show variables like 'character_set_%'; 查看字符集
show variables like 'collation_%';查看字符集
关于mysql编码
http://www.ha97.com/5359.html