# 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…
1.解压mysql-5.7.15-winx64.zip到D:\MySQL Server 5.7(你想安装的位置) 2.如果机器上安装过其他版本的mysql先删除环境变量PATH中的mysql路径,然后再进行以下步骤,注意端口号和服务名称不能重复: 3.根目录下新建文件my.ini,将以下内容写入文件 [mysqld] basedir=D:\MySQL Server 5.7 datadir=D:\MySQL Server 5.7\data port=3308 3.管理员权限打开(cmd) 进入D:…
这里为百度经验 http://jingyan.baidu.com/article/ff42efa93580c4c19e2202b6.html 然而在最后一步,回车不能够越过密码. 需要在解压的mysq文件下的data文件下找到Acer.err,用记事本打开, Crtl+H查找 A temporary password is generated for root@localhost: 这句话的后面就是我们需要的随机密码了.…
工具/原料 windows系统 一.Mysql的下载 打开浏览器,输入mysql,点击百度搜索,得到搜索结果. 在搜索结果中,选择下面结果,因为浏览器的不同,Mysql官网在搜索结果的位置可能不同,不过没关系,只要找到官网就好. 进入官网后依照顺序选择deadloads->Community->MYSQL Community Sever 然后进入到最新版本选择的界面,有平台选择,查找以前版本,当前最新版本的安装版和解压版,根据自己的电脑需要选择版本. 本人选择用比最新版…
最近重装了系统,去MySQL官网下载了最新的MySQL5.7.9,我选择的是解压版,安装之后启动服务的时候,提示服务无法启动,在网上找了很多教程,弄了很久都没有弄好,后来还是决定去英文官网找找答案,终于在官网发现了这个: As of MySQL 5.7.6, the Zip Archive no longer includes a data directory. To initialize a MySQL installation by creating the data directory…