具体操作请参考文章 1.http://blog.csdn.net/aaronbai/article/details/1431190 更改数据存储目录时候会出现 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) 解决方案: http://fuhj02.blog.51cto.com/274616/1357405 //登陆 mysql -u r…
在C:\ProgramData\MySQL\MySQL Server 5.7文件夹 my.ini是默认的配置文件.在这里我们只更改数据存储路径.不更改配置文件 1 # Path to the database root 2 datadir=C:/ProgramData/MySQL/MySQL Server 5.7/Data 将96行后面的值修改为需要的路径即可 自定义的文件夹需要在安全属性里面添加network service的访问权限,不然会触发10061(2003)的错误. mysql在Wi…
在mysql的官网上看到在mysql5.5以上的版本中已经更改了默认的存储引擎,在5.5版本以前是Myisam以后是Innodb. InnoDB as the Default MySQL Storage Engine MySQL has a well-earned reputation for being easy-to-use and delivering performance and scalability. Prior to MySQL 5.5, MyISAM was the defau…