2017-08-17 8 views
0

私は問題の魔女XAMPPを持っています。私はMySQLを実行しようとすると、XAMPPはこれを示していますMySQLを実行したときのXAMPPエラー

12:37:02 [mysql] Error: MySQL shutdown unexpectedly. 
12:37:02 [mysql] This may be due to a blocked port, missing dependencies, 
12:37:02 [mysql] improper privileges, a crash, or a shutdown by another method. 
12:37:02 [mysql] Press the Logs button to view error logs and check 
12:37:02 [mysql] the Windows Event Viewer for more clues 
12:37:02 [mysql] If you need more help, copy and post this 
12:37:02 [mysql] entire log window on the forums 

私は C:\xampp\mysql\bin\my.ini にし、mysql.default_port=3307 mysqli.default_port=3307C:\xampp\php\php.iniで3307にポートを変更しました。

私はにib_logfile1も削除しましたが、それでも機能しません。 エラーログ:

2017-08-17 12:27:00 2050 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. 
2017-08-17 12:27:00 8272 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB. ` 

2017-08-17 12:27:00 8272 [Note] InnoDB: Using mutexes to ref count buffer pool pages 
2017-08-17 12:27:00 8272 [Note] InnoDB: The InnoDB memory heap is disabled 
2017-08-17 12:27:00 8272 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
2017-08-17 12:27:00 8272 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier 
2017-08-17 12:27:00 8272 [Note] InnoDB: Compressed tables use zlib 1.2.3 
2017-08-17 12:27:00 8272 [Note] InnoDB: Using generic crc32 instructions 
2017-08-17 12:27:00 8272 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
2017-08-17 12:27:00 8272 [Note] InnoDB: Completed initialization of buffer pool 
2017-08-17 12:27:00 8272 [Note] InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist: a new database to be created! 
2017-08-17 12:27:00 8272 [Note] InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB 
2017-08-17 12:27:00 8272 [ERROR] InnoDB: Cannot create C:\xampp\mysql\data\ib_logfile101 
2017-08-17 12:27:00 8272 [ERROR] Plugin 'InnoDB' init function returned error. 
2017-08-17 12:27:00 8272 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
2017-08-17 12:27:00 8272 [Note] Plugin 'FEEDBACK' is disabled. 
2017-08-17 12:27:00 8272 [ERROR] Unknown/unsupported storage engine: InnoDB 
2017-08-17 12:27:00 8272 [ERROR] Aborting 

助けていただければ幸いです。おかげ

+0

システムを再起動してください。 –

答えて

0

MySQLのそれは開始できない正確な理由を言っている:

[ERROR] InnoDBは:Cを作成できません:\ xamppの\ mysqlの\データしたがってib_logfile101

\私が最初の事を提案c:\ xampp \ mysql \ dataが存在し、DBMSユーザーが書き込み可能であることを確認します。

0

まず、[管理者としてサービスを開始し、XAMPPのコントロールパネルにサービスを停止 し、コンピュータ、 上のサービスをインストールするには、左の赤い十字架の上でクリックしたアイコンが緑色のチェックマークになるだろう、 。

正常に動作しているはずです。

関連する問題