phpStudy如何更改MySQL的存放目录?

WBOY
Release: 2016-06-06 20:08:18
Original
3589 people have browsed it

PHP和服务器配置新人,最近买了VPS,然后phpStudy安装在了C盘,VPS的C盘买的很小,发现空间有点不足,就又扩容了D盘。

现在想把网站根目录和MySQL的目录都迁移到D盘去,根目录的设置方法找到了,但是MySQL的迁移方法没找到,求教!

回复内容:

PHP和服务器配置新人,最近买了VPS,然后phpStudy安装在了C盘,VPS的C盘买的很小,发现空间有点不足,就又扩容了D盘。

现在想把网站根目录和MySQL的目录都迁移到D盘去,根目录的设置方法找到了,但是MySQL的迁移方法没找到,求教!

备份数据库 重新 安装到别的目录在导入备份的数据即可。就是binlog 日志文件大

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!