wamp mysql无法启动
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>
求解啊~~
回复内容:
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>
求解啊~~
解决方案1:
建议你安装xampp。
解决方法2:
wamp系统里面存在my.ini文件,找出来删掉。利用查找文件功能全盘扫描,原来是c盘windows文件夹下存在一个my.ini,果断删除,立即重启wampserver所有服务,试一试。

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

Video Face Swap
使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

MySQL和phpMyAdmin可以通过以下步骤进行有效管理:1.创建和删除数据库:在phpMyAdmin中点击几下即可完成。2.管理表:可以创建表、修改结构、添加索引。3.数据操作:支持插入、更新、删除数据和执行SQL查询。4.导入导出数据:支持SQL、CSV、XML等格式。5.优化和监控:使用OPTIMIZETABLE命令优化表,并利用查询分析器和监控工具解决性能问题。

session_start()iscucialinphpformanagingusersessions.1)ItInitiateSanewsessionifnoneexists,2)resumesanexistingsessions,and3)setsasesessionCookieforContinuityActinuityAccontinuityAcconActInityAcconActInityAcconAccRequests,EnablingApplicationsApplicationsLikeUseAppericationLikeUseAthenticationalticationaltication and PersersonalizedContentent。

在MySQL中,添加字段使用ALTERTABLEtable_nameADDCOLUMNnew_columnVARCHAR(255)AFTERexisting_column,删除字段使用ALTERTABLEtable_nameDROPCOLUMNcolumn_to_drop。添加字段时,需指定位置以优化查询性能和数据结构;删除字段前需确认操作不可逆;使用在线DDL、备份数据、测试环境和低负载时间段修改表结构是性能优化和最佳实践。

在macOS上安装MySQL可以通过以下步骤实现:1.安装Homebrew,使用命令/bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"。2.更新Homebrew,使用brewupdate。3.安装MySQL,使用brewinstallmysql。4.启动MySQL服务,使用brewservicesstartmysql。安装后,可通过mysql-u

MySQL函数可用于数据处理和计算。1.基本用法包括字符串处理、日期计算和数学运算。2.高级用法涉及结合多个函数实现复杂操作。3.性能优化需避免在WHERE子句中使用函数,并使用GROUPBY和临时表。

要安全、彻底地卸载MySQL并清理所有残留文件,需遵循以下步骤:1.停止MySQL服务;2.卸载MySQL软件包;3.清理配置文件和数据目录;4.验证卸载是否彻底。

MySQL批量插入数据的高效方法包括:1.使用INSERTINTO...VALUES语法,2.利用LOADDATAINFILE命令,3.使用事务处理,4.调整批量大小,5.禁用索引,6.使用INSERTIGNORE或INSERT...ONDUPLICATEKEYUPDATE,这些方法能显着提升数据库操作效率。

Composer是PHP的依赖管理工具,通过composer.json文件管理项目依赖。1)解析composer.json获取依赖信息;2)解析依赖关系形成依赖树;3)从Packagist下载并安装依赖到vendor目录;4)生成composer.lock文件锁定依赖版本,确保团队一致性和项目可维护性。
