Can install a MySQL interface management tool, easy to learn
------Solution--------------------
This is a problem with the database server.
PHP is not very related
------Solution--------------------
Buddy is database not connected!
The main reason is that your database uses a password, and you do not use the password when you connect!
Do you use root and the password is empty when you connect?
And the database you are connected to needs a password!
This problem I have encountered, is generally a database password problem! Dude, go check it out!
------Solution--------------------
See if the database is properly installed, boot no, if it is started correctly, check the user name and password is not consistent.
------Solution--------------------
Unable to start MySQL What are you waiting for, unloading the load of MySQL.
Explore
Now the MYSQL5_PN are not starting, prompt:
The MYSQL5_PN service cannot be started on the local computer.
Error 1067: The process terminated unexpectedly.
I copied the code here.
Environment should be good, others wrote a phpinfo.php to me can test pass, but is input localhost:
Tips:
(Can ' t contact the database Server:can ' t connect to mysq ...
------Solution--------------------
First Use the connection tool, connect the database, so that you confirm that your database is open, the user password is correct, and then you re-troubleshoot is not a PHP connection class has a problem
------Solution--------------------
Delete the password, do not enter the password, just fine
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.