Home  >  Article  >  Backend Development  >  多个mysql数据库如何指定到多个不同文件目录

多个mysql数据库如何指定到多个不同文件目录

WBOY
WBOYOriginal
2016-06-13 12:36:441248browse

多个mysql数据库怎么指定到多个不同文件目录
多个mysql数据库怎么指定到多个不同文件目录

我安装了phpnow环境
默认数据库都放在D:\phpnow\MySQL-5.0.90\data\
我想使用百度云进行数据库同步,百度云目录在 D:\yun\
我想让D:\phpnow\MySQL-5.0.90\data\hello.* (hello数据库)转移到 d:\yun\db\hello.* 中去
其他数据库(还有很多数据库我不想同步)还是放在原来的目录
请问怎么设置才能用php可以正常访问到转移后的hello数据库?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn