xp的电脑,刚装wamp2.4,默认端口改了mysql 的没改,点mysql里面的启动没反映,看错误日志如下:
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 disabled2016-03-16 14:18:14 2584 [note] innodb: mutexes and rw_locks use windows interlocked functions2016-03-16 14:18:14 2584 [note] innodb: compressed tables use zlib 1.2.32016-03-16 14:18:14 2584 [note] innodb: not using cpu crc32 instructions2016-03-16 14:18:14 2584 [note] innodb: initializing buffer pool, size = 128.0m2016-03-16 14:18:14 2584 [note] innodb: completed initialization of buffer pool2016-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 start2016-03-16 14:18:14 2584 [note] innodb: 5.6.12 started; log sequence number 16259772016-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: 33062016-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
求解啊~~
回复内容: xp的电脑,刚装wamp2.4,默认端口改了mysql 的没改,点mysql里面的启动没反映,看错误日志如下:
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 disabled2016-03-16 14:18:14 2584 [note] innodb: mutexes and rw_locks use windows interlocked functions2016-03-16 14:18:14 2584 [note] innodb: compressed tables use zlib 1.2.32016-03-16 14:18:14 2584 [note] innodb: not using cpu crc32 instructions2016-03-16 14:18:14 2584 [note] innodb: initializing buffer pool, size = 128.0m2016-03-16 14:18:14 2584 [note] innodb: completed initialization of buffer pool2016-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 start2016-03-16 14:18:14 2584 [note] innodb: 5.6.12 started; log sequence number 16259772016-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: 33062016-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
求解啊~~
解决方案1:
建议你安装xampp。
解决方法2:
wamp系统里面存在my.ini文件,找出来删掉。利用查找文件功能全盘扫描,原来是c盘windows文件夹下存在一个my.ini,果断删除,立即重启wampserver所有服务,试一试。