Help experts! PHP cannot connect to MySQL! Error, but every time you run a program that contains a link to the MySQL function, the window for sending the error report will pop up. if you click "do not send", the page will become unavailable, I have tried many methods on the Internet, but it seems that there are not many such cases on the internet. if I click not to send it, the page will become unable to display help experts on this page! PHP cannot connect to MySQL!
Error, but every time you run a program that contains a link to the MySQL function, the window for sending the error report will pop up. if you click "do not send", the page will become unavailable, I have tried many methods on the Internet, but it seems that there are not many such cases on the internet. if I click "don't send", the page will become unavailable. please help me!
------ Solution --------------------
It seems that the error is very serious. you should reinstall it. we recommend that you change the version. It seems that you are using local development, so try the integrated green installation package released on the Internet, which basically does not need to be configured. There will be no problems.
------ Solution --------------------
The best solution is to reinstall.
------ Solution --------------------
Is apache installed? If you use an integrated version of xampp or install it separately, Google may still be useful.
------ Solution --------------------
Php. ini is not configured, and the corresponding dll is not copied to the system directory.
------ Solution --------------------
I have encountered this problem, and I have reinstalled it. see the php document later. in windows extensions, the extension list includes: mysql ext requires libmysql. dll. this file needs to be found. put it in the system directory or add the php main directory in the path environment variable.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service