Mysql cannot be installed in xp. Previously installed the amp environment. Later, the system was reinstalled. Now I have reinstalled mysql. after installation, I can connect to the database at the command prompt. However, php cannot be connected. phpinfo shows that the mysql version is 5.0X. I obviously installed 5.1X. Then I reinstalled mysql several times. Now, after installing mysql, follow the normal process to configure the last process, and then mysql cannot be installed.
In xp. Previously installed the amp environment. Later, the system was reinstalled.
Now I have reinstalled mysql. after installation, I can connect to the database at the command prompt. However, php cannot be connected. phpinfo shows that the mysql version is 5.0X. I obviously installed 5.1X.
Then I reinstalled mysql several times. Now, after installing mysql, follow the normal process to configure the last process, and then remain stuck there. The mysql service cannot be started.
Open the mysql command prompt and you will be prompted that my. ini cannot be found.
This is my php. ini file.
------ Solution --------------------
View err files
------ Solution --------------------
Is your PHP integrated environment?
------ Solution --------------------
If it is an integrated environment, MYSQL has been installed, and the installation will be unable to start MYSQL due to port conflict, it will be stuck in the last step.
------ Solution --------------------
You can view the mysql version in the command line.
------ Solution --------------------
Maybe the MYSQL service is not deleted when it is uninstalled?
Can I delete mysql service items in the registry?
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