window|window 修改字符集为utf8
【window|window 修改字符集为utf8】
文章图片
my.ini 内容如下:
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the # *** default location during install, and will be replaced if you # *** upgrade to a newer version of MySQL.[mysqld] character-set-server=utf8# Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. # innodb_buffer_pool_size = 128M# Remove leading # to turn on a very important data integrity option: logging # changes to the binary log between backups. # log_bin# These are commonly set, remove the # and set as required. # basedir = ..... # datadir = ..... # port = ..... # server_id = .....# Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [mysql]no-beepdefault-character-set=utf8 # default-character-set=[client]# pipe=# socket=MYSQLdefault-character-set=utf8
设置好重启mysql服务
文章图片
转载于:https://www.cnblogs.com/SeaWxx/p/10974173.html
推荐阅读
- java|java b2b2c shop 多用户商城系统源码- config 修改配置
- iOS富文本为html时,修改默认字体颜色
- react-navigation|react-navigation 动态修改 tabBar 样式
- Caffe在Windows10下CPU版本的安装(cpu+anaconda3+vs2013+pycaffe)
- 8、Flask构建弹幕微电影网站-搭建后台页面-密码修改、主页控制面板
- 笔记|如何在Windows11安装安卓子系统()
- windows11|Windows11安装Android子系统
- Windows10|Windows10,Version,1903,7月更新,MSDN镜像下载
- Windows必备良心软件,让电脑更酷更高效率!
- 2019-07-08|2019-07-08 windows server