The installation of nodejs yesterday caused mysql to fail and the mysql extension could not be loaded.

Source: Internet
Author: User
Tags vps
After nodejs is installed, When I access the WP blog, "Your PHP does not seem to have installed the MySQL extension required to run WordPress .", When you access phpmyadmin, the error "mysql extension cannot be loaded" is reported. This is a problem that I have never encountered before. Later, with the help of Google, I found a method to update php: yumupdatep

After nodejs is installed, When I access the WP blog, "Your PHP does not seem to have installed the MySQL extension required to run WordPress .", When you access phpmyadmin, the error "mysql extension cannot be loaded" is reported. This is a problem that I have never encountered before. Later, with the help of Google, I found a method to update php: yum update p

After nodejs is installed, When I access the WP blog, "Your PHP does not seem to have installed the MySQL extension required to run WordPress .", When you access phpmyadmin, the error "mysql extension cannot be loaded" is reported. This is a problem that I have never encountered before. Later, with the help of Google, I found a method to update php: yum update php-y mysql_upgrade-u "mysql Administrator Account"-p "password" and then restart vps OK, PS my VPS is CentOS above method Source: http://hi.baidu.com/zrhua_cn/blog/item/6515f686f5216bac0cf4d2af.html

Original article address: the installation of nodejs yesterday resulted in mysql failure and the mysql extension could not be loaded. Thanks to the original author for sharing.

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.