Home > Backend Development > PHP Tutorial > phpStudy如何更改MySQL的存放目录?

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:08:18
Original
3662 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template