首页 > 编程知识 正文

xampp怎么打开php文件,xampp中mysql无法启动

时间:2023-05-04 03:59:45 阅读:163557 作者:3395

昨天,我尝试了多种不同的MYSQL数据库备份和恢复操作,但在恢复过程中MYSQL无法启动。

提示如下。

2:59:43 [ MySQL ] attemptingtostartmysqlapp .

2:59336043 [ MySQL ] statuschangedetected : running

2:59336044 [ MySQL ] statuschangedetected 3360 stopped

2:59336044 [ MySQL ] error : mysqlshutdownunexpectedly。

2:59336044 [ MySQL ] thismaybeduetoablockedport,missing dependencies,

2:59336044 [ MySQL ] improper privileges,a crash,or a shutdown by another method。

2:59336044 [ MySQL ] pressthelogsbuttontoviewerrorlogsandcheck

2:59336044 [ MySQL ] thewindowseventviewerformoreclues

2:59:44 [ MySQL ] ifyouneedmorehelp,copy and post this

2:59336044 [ MySQL ] entirelogwindowontheforums

This may be due to a blocked port,missing dependencies,首先看到了端口。 3306端口未被占用。

我在网上看到了运行批处理文件的解决方案,但需要重新启动:

我是x。 刚才写了一大堆,提交后显示找不到服务器、 还有,稿箱里也没有。 真的很高

总之我尝试了各种各样的方法,但是没能解决。 最后只能卸载重新安装解决的东西。

刚才已替换了E:xampp_newmysqldata数据库中的文件。 替换后,mysql无法启动。 终于找到了mysql无法启动的原因。 这是替换了data数据库文件造成的。

只有多次删除ibdata1、ib_logfile1和ib_logfile0才能启动mysql。 第一次删除后,确实也无法启动。

操作无法通过直接复制和粘贴数据库文件的方法恢复数据库,并且即使数据库无法启动,以后可以删除日志文件并启动数据库,也无法浏览数据库中的表文件

错误日志:

2014-11-2523360573360554336 [ note ] plugin ' federated ' is disabled。

2014-11-252:573360552720 innodb : warning : using innodb _ additional _ mem _ pool _ sizeisdeprecated.this oppped

2014-11-2523360573360554336 [ note ] innodb : usingatomicstorefcountbufferpoolpages

2014-11-252:573360554336 [ note ] innodb : theinnodbmemoryheapisdisabled

2014-11-2523360573360554336 [ note ] innodb : mutexesandrw _ locksusewindowsinterlockedfunctions

2014-11-252:573360554336 [ note ] innodb : compressedtablesusezlib1.2. 3

2014-11-252:573360554336 [ note ] innodb : notusingcpucrc 32 instructions

2014-11-252:573360554336 [ note ] innodb : initializing buffer pool,size=16.0M

2014-11-2523360573360554336 [ note ] innodb : completedinitializationofbufferpool

2014-11-2523360573360554336 [ note ] innodb : highestsupportedfileformatisbarracuda

2014-11-252:573360554336 [ warning ] innodb : resizingredologfrom2* 3072 to2 * 320 pages,LSN=1625987

2014-11-2523360573360554336 [ warning ] innodb : startingtodeleteandrewritelogfiles

2014-11-252:573360554336 [ note ] innodb : settinglogfilee :xampp _ newMySQL data _ IB _ log file 110

2014-11-252:573360554336 [ note ] innodb : settinglogfilee :xampp _ newMySQL data _ IB _ log file 1

2014-11-252:573360564336 [ note ] innodb : renaminglogfilee :xampp _ newMySQL data _ IB _ log file

2014-11-252:573360564336 [ warning ] innodb : newlogfilescreated,LSN=1625987

2014-11-252:573360564336 [ note ] innodb :128 roll back segment (s ) are active

2014-11-252:573360564336 [ note ] innodb : waitingforpurgetostart

2014-11-252:573360564336 [ note ] innodb :5.6.16开始; log sequence number 1625987

2014-11-252:573360564336 [ warning ] noexistinguuidhasbeenfound,soweassumethatthisisthefirsttimethattserverhasberhasberverhasbed

2014-11-252:573360564336 [ note ] serverhostname (bind-address ) : '* '; 端口: 3306

2014-11-252:573360564336 [ note ] IPv6 is available。

2014-11-252:573360564336 [ note ]-' :3360 ' resolves to ' :3360 ';

2014-11-2523360573360564336 [ note ] serversocketcreatedonip : ' :3360 '。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。