Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MySQL无法启动_Mysql_Xampp - Fatal编程技术网

MySQL无法启动

MySQL无法启动,mysql,xampp,Mysql,Xampp,我将xampp安装从C:\移动到F:\,现在它不能开始说: > 2015-03-27 20:48:20 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca ted. Please use --explicit_defaults_for_timestamp server option (see documentati on for more details). 2015-03-27 20:48:20 1608 [ERROR

我将xampp安装从
C:\
移动到
F:\
,现在它不能开始说:

> 2015-03-27 20:48:20 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2015-03-27 20:48:20 1608 [ERROR] Can't find messagefile 'C:\xampp\mysql\share\er
rmsg.sys'
2015-03-27 20:48:20 1608 [Warning] Can't create test file C:\xampp\mysql\data\x.lower-test
2015-03-27 20:48:20 1608 [Warning] Can't create test file C:\xampp\mysql\data\xe.lower-test
mysql\bin\mysqld: Can't change dir to 'C:\xampp\mysql\data\' (Errcode: 2 - No su
ch file or directory)
2015-03-27 20:48:20 1608 [ERROR] Aborting

我能做什么?如果必须重新安装,如何保存当前数据库

您是否更改了数据目录和配置文件?请更正所有文件中提到的所有路径,或者重新安装。或者使用带有工作包管理的操作系统。不,我该怎么做?我只将C:\xampp\移动到F:\xampp\如果我只是重新安装,我如何备份我的mysql数据库?将它移回原来的位置,启动,将所有数据转储到文件中,就这样。重新安装后,可以再次加载数据。最简单的方法是使用类似于
mysqldump