![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DataBase
zhiquanliu
这个作者很懒,什么都没留下…
展开
-
mysql 创建用户、 授权
//创建用户 create user 'hive'@'%' identified by 'hive'; //授权 grant all privileges on *.* to 'hive'@'%' with grant option; flush privileges;原创 2015-08-27 15:19:03 · 449 阅读 · 0 评论 -
MySQL数据库中文字符在Linux终端显示乱码 解决方案
用Mysql终端进入Mysql数据库一看乱码了 第一感觉就是latin1字符。 执行sq脚本查看Mysql字符集相关属性: SHOW VARIABLES LIKE 'character_set_%'; 果然是latin1字符集 首先想到的就是把latin1改成utf8 执行命令: set names utf8; SHOW VARIABLES LIKE 'char...原创 2016-02-03 02:43:06 · 304 阅读 · 0 评论