![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
JOSENHUANG
这个作者很懒,什么都没留下…
展开
-
MySQL 5.7 No directory, logging in with HOME=/
在ubuntu 14的版本中,安装了mysql 后,启动时,程序提示 “No directory, logging in with HOME=/”root@xxx:/etc/mysql# service mysql restart * Stopping MySQL Community Server 5.7.11... * MySQL Community Server 5.7.11 i原创 2016-12-12 17:31:17 · 12072 阅读 · 0 评论 -
mysql 数据库字符转换
步骤一 命令行执行:mysqldump --opt -hlocalhost -uroot -p --default-character-set=lantin1 dbname > /usr/local/dbname.sql步骤二 将 dbname.sql文件中的create table语句的CHARSET=latin1改为CHARSET=utf8步骤三 在dbname.sql文件中的转载 2016-12-29 18:29:20 · 871 阅读 · 0 评论