Table of Contents
回复内容:
Home Backend Development PHP Tutorial wamp mysql无法启动

wamp mysql无法启动

Jun 06, 2016 pm 08:15 PM
mysql php

xp的电脑,刚装wamp2.4,默认端口改了mysql 的没改,点mysql里面的启动没反映,看错误日志如下:

<code>2016-03-16 14:18:14 2584 [Note] Plugin 'FEDERATED' is disabled.
2016-03-16 14:18:14 2584 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-16 14:18:14 2584 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-03-16 14:18:14 2584 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-03-16 14:18:14 2584 [Note] InnoDB: Not using CPU crc32 instructions
2016-03-16 14:18:14 2584 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-03-16 14:18:14 2584 [Note] InnoDB: Completed initialization of buffer pool
2016-03-16 14:18:14 2584 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-16 14:18:14 2584 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-16 14:18:14 2584 [Note] InnoDB: Waiting for purge to start
2016-03-16 14:18:14 2584 [Note] InnoDB: 5.6.12 started; log sequence number 1625977
2016-03-16 14:18:15 2584 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: de1f4d6a-eb3e-11e5-8b86-00247e6db24c.
2016-03-16 14:18:15 2584 [Note] Server hostname (bind-address): '*'; port: 3306
2016-03-16 14:18:17 2584 [Note] IPv6 is not available.
2016-03-16 14:18:17 2584 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
2016-03-16 14:18:17 2584 [Note] Server socket created on IP: '0.0.0.0'.
2016-03-16 14:18:17 2584 [ERROR] wampmysqld: Can't create/write to file 'D:\wamp\bin\mysql\mysql5.6.12\data\QF*-20160217THL.pid' (Errcode: 22 - Invalid argument)
2016-03-16 14:18:17 2584 [ERROR] Can't start server: can't create PID file: Invalid argument</code>
Copy after login
Copy after login

求解啊~~

回复内容:

xp的电脑,刚装wamp2.4,默认端口改了mysql 的没改,点mysql里面的启动没反映,看错误日志如下:

<code>2016-03-16 14:18:14 2584 [Note] Plugin 'FEDERATED' is disabled.
2016-03-16 14:18:14 2584 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-16 14:18:14 2584 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-03-16 14:18:14 2584 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-03-16 14:18:14 2584 [Note] InnoDB: Not using CPU crc32 instructions
2016-03-16 14:18:14 2584 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-03-16 14:18:14 2584 [Note] InnoDB: Completed initialization of buffer pool
2016-03-16 14:18:14 2584 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-16 14:18:14 2584 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-16 14:18:14 2584 [Note] InnoDB: Waiting for purge to start
2016-03-16 14:18:14 2584 [Note] InnoDB: 5.6.12 started; log sequence number 1625977
2016-03-16 14:18:15 2584 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: de1f4d6a-eb3e-11e5-8b86-00247e6db24c.
2016-03-16 14:18:15 2584 [Note] Server hostname (bind-address): '*'; port: 3306
2016-03-16 14:18:17 2584 [Note] IPv6 is not available.
2016-03-16 14:18:17 2584 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
2016-03-16 14:18:17 2584 [Note] Server socket created on IP: '0.0.0.0'.
2016-03-16 14:18:17 2584 [ERROR] wampmysqld: Can't create/write to file 'D:\wamp\bin\mysql\mysql5.6.12\data\QF*-20160217THL.pid' (Errcode: 22 - Invalid argument)
2016-03-16 14:18:17 2584 [ERROR] Can't start server: can't create PID file: Invalid argument</code>
Copy after login
Copy after login

求解啊~~

解决方案1:
建议你安装xampp。
解决方法2:
wamp系统里面存在my.ini文件,找出来删掉。利用查找文件功能全盘扫描,原来是c盘windows文件夹下存在一个my.ini,果断删除,立即重启wampserver所有服务,试一试。

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

CakePHP Date and Time

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

CakePHP Project Configuration

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

CakePHP File upload

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

CakePHP Routing

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

Discuss CakePHP

How to fix mysql_native_password not loaded errors on MySQL 8.4 How to fix mysql_native_password not loaded errors on MySQL 8.4 Dec 09, 2024 am 11:42 AM

How to fix mysql_native_password not loaded errors on MySQL 8.4

CakePHP Quick Guide CakePHP Quick Guide Sep 10, 2024 pm 05:27 PM

CakePHP Quick Guide

See all articles