2014-09-26 2 views
1

mysql 서버를 시작하려고하는데 다음 오류 로그가 표시됩니다. 포트 번호를 변경하려고했습니다. 그러나 진짜 문제는 여기에 표시됩니다 더 가치가XAMPP 서버의 MySQL이 시작되지 않습니다.

2014-09-26 09:31:23 3880 [Note] Plugin 'FEDERATED' is disabled. 
2014-09-26 09:31:23 f34 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 
2014-09-26 09:31:23 3880 [Note] InnoDB: Using atomics to ref count buffer pool pages 
2014-09-26 09:31:23 3880 [Note] InnoDB: The InnoDB memory heap is disabled 
2014-09-26 09:31:23 3880 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
2014-09-26 09:31:23 3880 [Note] InnoDB: Compressed tables use zlib 1.2.3 
2014-09-26 09:31:23 3880 [Note] InnoDB: Not using CPU crc32 instructions 
2014-09-26 09:31:23 3880 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
2014-09-26 09:31:23 3880 [Note] InnoDB: Completed initialization of buffer pool 
2014-09-26 09:31:23 3880 [Note] InnoDB: Highest supported file format is Barracuda. 
2014-09-26 09:31:23 3880 [Note] InnoDB: Log scan progressed past the checkpoint lsn 3997169 
2014-09-26 09:31:23 3880 [Note] InnoDB: Database was not shutdown normally! 
2014-09-26 09:31:23 3880 [Note] InnoDB: Starting crash recovery. 
2014-09-26 09:31:23 3880 [Note] InnoDB: Reading tablespace information from the .ibd files... 
2014-09-26 09:31:24 3880 [Note] InnoDB: Restoring possible half-written data pages 
2014-09-26 09:31:24 3880 [Note] InnoDB: from the doublewrite buffer... 
InnoDB: Doing recovery: scanned up to log sequence number 3997285 
2014-09-26 09:31:24 3880 [Note] InnoDB: 128 rollback segment(s) are active. 
2014-09-26 09:31:25 3880 [Note] InnoDB: Waiting for purge to start 
2014-09-26 09:31:25 3880 [Note] InnoDB: 5.6.16 started; log sequence number 3997285 
2014-09-26 09:31:25 3880 [Note] Server hostname (bind-address): '*'; port: 3306 
2014-09-26 09:31:25 3880 [Note] IPv6 is available. 
2014-09-26 09:31:25 3880 [Note] - '::' resolves to '::'; 
2014-09-26 09:31:25 3880 [Note] Server socket created on IP: '::'. 
2014-09-26 09:31:25 3880 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'user' 
+0

'C : \ your \ xampp \ mysql \ data \ mysql '에있는 테이블 파일 중 하나 이상이 결함으로 보입니다. 설치 직후 문제가 발생 했습니까? 아니면이 오류가 최근에 발생합니까? – Bjoern

+0

오늘부터이 오류가 발생했습니다. 어제 그것은 잘 작동했습니다. – Nadishan

+0

답변으로 몇 가지 제안을 추가했습니다. 이에 대해 살펴보십시오. – Bjoern

답변

0

없습니다 : C:\your\xampp\mysql\data\mysql\user*에서

테이블 파일의
2014-09-26 09:31:25 3880 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect file format 'user' 

적어도 하나는 결함 것 같다. 이것은 서버에서 매우 중요하므로 시작할 수 없습니다. 이 다루는

가능한 방법 : 당신이 바로 설치 후 문제가있는 경우

  • 는, 다시는 설치하려고합니다.
  • 최근 문제가 발생한 경우 최근 백업에서 C:\your\xampp\mysql\data\mysql\user*을 복원하십시오.
  • 백업이없는 경우 다른 mysql 인스턴스를 다른 위치에 설치하고 C:\your\new\mysql\data\mysql\user* 파일을 C:\your\xampp\mysql\data\mysql\에 복사 할 수도 있습니다. 여기에는 기본 사용자 만 포함되므로 기존의 손상된 설치에서 작업 한 사용자를 수동으로 추가해야합니다.
2

복사이 3 개 개의 파일 :

  • user.frm
  • user.MYD
  • user.MYI
  • C에서

: \ XAMPP \ mysql을 \ 백업 \ mysql을 C : \ xampp \ mysql \ data \ mysql

및 그것을 무시하십시오.

관련 문제