| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1400 人关注过本帖
标题:Mac 系统下安装mysql,录入中文乱码报错,求助!
只看楼主 加入收藏
Angus_wei
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2018-6-3
收藏
 问题点数:0 回复次数:2 
Mac 系统下安装mysql,录入中文乱码报错,求助!
通过以下方式创建:

support-files文件夹里面没有文件,那么就要在/etc下新建

$ cd /etc

$ sudo vim



提示一下错误:

E325: ATTENTION

Found a swap file by the name ".

owned by: root dated: Fri Jun 1 23:27:42 2018

file name: /private/etc/

modified: YES

user name: root host name: CarpeDiemdeMacBook-Pro.local

process ID: 2174

While opening file "



(1) Another program may be editing the same file. If this is the case,

be careful not to end up with two different instances of the same

file when making changes. Quit, or continue with caution.

(2) An edit session for this file crashed.

If this is the case, use ":recover" or "vim -r

to recover the changes (see ":help recovery").

If you did this already, delete the swap file ".

to avoid this message.



Swap file ". already exists!

(O)pen Read-Only, (E)dit anyway, (R)ecover,( D)elete it, (Q)uit, (A)bort:

补充:

刚刚学习mysql,同时第一次使用mac系统,求各位大佬解答,谢谢!
搜索更多相关主题的帖子: mysql file the name this 
2018-06-03 00:33
Angus_wei
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2018-6-3
收藏
得分:0 
修改mysql中文乱码问题
cd /etc
sudo vim

[client]
default-character-set=utf8
[mysqld]
character-set-server=utf8

已解决
2018-06-03 21:39
快速回复:Mac 系统下安装mysql,录入中文乱码报错,求助!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017356 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved