摘要: 1.查看Mysql版本是否支持分区SHOW VARIABLES LIKE '%partition%';+-------------------+-------+| Variable_name | Value |+-------------------+-------+| have_partitioning | YES |+-------------------+-------+如果VALUE 为YES 则支持分区,2.测试那种存储引擎支持分区 INOODB引擎 mysql> Create table engine1(id int) engine=innodb partit 阅读全文
posted @ 2014-01-17 16:24 杨桃 阅读(1746) 评论(0) 推荐(0) 编辑
摘要: 默认数据存放位置:C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6\打开该位置,即可看见my.ini修改该配置文件的datadir 属性,并将data文件夹放在你修改后的文件夹路径下,重启mysql服务即可。# server_type=3[mysqld]# The next three options are mutually exclusive to SERVER_PORT below.# skip-networking# enable-named-pipe# The Pipe the My 阅读全文
posted @ 2014-01-17 13:55 杨桃 阅读(2649) 评论(0) 推荐(0) 编辑