简体   繁体   English

无法在XAMPP上激活MySQL数据库

[英]Can't activate MySQL database on XAMPP

This seems to be a common problem and I've tried searching for an answer and attempted to fix my problem based on people's answers, but with no success. 这似乎是一个常见的问题,我试图寻找答案,并试图根据人们的回答解决问题,但没有成功。

The other day, I started my local XAMPP server and MySQL database and tried to access phpMyAdmin, but I got the error "Cannot load mysql extension. Please check your PHP configuration". 前几天,我启动了本地XAMPP服务器和MySQL数据库,并尝试访问phpMyAdmin,但出现错误“无法加载mysql扩展。请检查您的PHP配置”。 The MySQL extensions in the php.ini file are all uncommented. php.ini文件中的MySQL扩展均未注释。 I am really lost as to what has happened as it was working properly the day before. 前一天工作正常,我真的不知道该怎么办。 If I need to provide any more info, please let me know. 如果我需要提供更多信息,请告诉我。 Any advice would be greatly appreciated. 任何建议将不胜感激。

XAMPP installs Apache, PHP and Mysql which works out of the box. XAMPP可以立即安装Apache,PHP和Mysql。 You must have some other PHP.ini which is interfering with XAMPP. 您必须具有其他干扰XAMPP的PHP.ini。 See phpinfo() to find out which PHP.ini is being used. 参见phpinfo()找出正在使用的PHP.ini。

Check in Program Files if PHP is installed separately. 如果没有单独安装PHP,请检入程序文件。 Remove this one. 删除这个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM