PHP + MYSQL + APACHE environment problems

Source: Internet
Author: User
When configuring the environment for PHP + MYSQL + APACHE environment problems & nbsp; The mysqlroot password is incorrect. how can this problem be solved? I typed a password and the pop-up pops up: connection to mysql failed..., connection to mysql failed? What is the result of Chinese? Phpmyadmin? The connection fails because the mysql service is not started, for example, the PHP + MYSQL + APACHE environment problem.
When configuring the environment
Incorrect mysql root password reset mysql root password


How can this problem be solved? I typed the password and it popped up:

Failed to connect to mysql ..

------ Solution --------------------
Failed to connect to mysql?
What is the result of Chinese? Phpmyadmin?
The connection fails because the mysql service is not started.
------ Solution --------------------
If you use LAMP, try root and test respectively for the user name and password.
------ Solution --------------------
Let's take a look at his help to see how to reset it. Generally, this is not the case. I have never used these integration packages. First, let's take a look at what the official website says. Generally, there is a default password.
------ Solution --------------------
Empty password. Have you tried?
User: root
Pass:
------ Solution --------------------
First try to log on to MySql under the command line
------ Solution --------------------
Stop your mysql instance before installing phpnow, check whether Port 3306 is disabled, and then install
Otherwise, we will report a product conflict and we have to change the port number for you.
You will be prompted to enter the password during installation
If you do not remember to enter the password, the default password is null ""
You can check the localhost/phpmyadmin root ''.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.