MySQL 问题重新连接(mysqld.exe)不断给出错误
需要一些指导来找出问题所在。当我开发一个网络应用程序时,我在家用计算机上使用 mysql、phpmyadmin 已经不到一年了。 3天前,我用所有“精彩”的微软更新、安全补丁等更新了我的Windows Vista……但现在它坏了。我尝试卸载所有升级,但有 4 个我无法卸载,因为微软说他们的“操作系统”更新并且无法卸载。
我的系统是:windows vista、php 5+、mysql 5.1、Apache 2+。
我可以运行我的网络应用程序,它查询数据库没有任何问题。但是,当我运行 phpmyadmin 进入数据库时,出现错误:“mysqld.exe 已停止工作”并且 phpmyadmin 崩溃。我尝试进入 mysql 命令行执行 mysqldump 来备份我的数据库,但它给了我一个错误“2013,无法连接到服务器”。如果我重新启动计算机,网络应用程序将再次工作。基本上,php 可以查询数据库,但是如果我尝试通过 phpmyadmin 或命令提示符访问数据库,则会出现 mysqld.exe 错误并导致 mysql 崩溃。
有什么想法吗?有什么想法如何解决这个问题来备份数据库,以便我可以重新安装 mysql?我真的不知道从哪里开始。我真的不知道是否是更新导致了问题,或者是否是无法卸载的 4 个更新才是真正的问题。
任何提示将不胜感激。谢谢。
Need some guidance figuring out what went wrong. I've been using mysql, phpmyadmin for just under a year on my home computer while I develop a webapp. 3 days ago I updated my windows vista with all the "wonderful" microsoft updates, security patches, etc...and now it's broke. I tried uninstalling all the upgrades, but there are 4 of them I can't unistall because microsoft says their "operating system" updates and can't be unistalled.
My system is: windows vista, php 5+, mysql 5.1, Apache 2+.
I can run my web app and it queries the database without any problems. However, when I run phpmyadmin to get into the database I get an error: "mysqld.exe has stopped working" and phpmyadmin crashes. I tried going to the command line for mysql to do a mysqldump to backup my database and it gives me an error "2013, could not connect to the server". If I restart the computer the webapp will work again. Basically, php can query the database, but if I try to get at the database through phpmyadmin, or the command prompt the mysqld.exe error occurs and blows mysql out.
Any ideas what's going on here? Any ideas how to get around this to backup the db, so I can reinstall mysql?. I'm really lost where to start. I don't really know if the updates caused the problem, or if the 4 updates that can't be unistalled are really the problem.
Any tips will be appreciated. thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试使用 XAMPP。它将 PHP、MySQL、Apache 和其他东西全部集成在一个易于使用的包中。
You could try using XAMPP. It has PHP, MySQL, Apache, and other stuff all in one easy to use package.
软件/硬件驱动程序更新后,可能会发生服务 mysqld.exe 在每次启动时崩溃(通常显示消息:mysqld.exe 遇到错误并需要关闭)
检查此处描述的解决方案< /a> (它对我有用)如果你想避免 mysql 重新安装。
After a software/ hardware drivers update, it may happened that the service mysqld.exe crashes at each launch (usually with message: mysqld.exe encountered an error and needs to close)
Check the solution described here (it worked for me) if you wish to avoid mysql reinstall.