Home  >  Article  >  Database  >  昨天安装nodejs导致mysql故障,无法载入mysql扩展

昨天安装nodejs导致mysql故障,无法载入mysql扩展

WBOY
WBOYOriginal
2016-06-07 16:38:381248browse

自从装了nodejs后,访问WP博客时报“您的 PHP 似乎没有安装运行 WordPress 必须的 MySQL 扩展。”,访问phpmyadmin报“无法载入 mysql 扩展”的错误。这个可是个难题,以前从来没遇到过,后来经过在Google大神的帮助下,找到一个更新php的方法: yum update p

自从装了nodejs后,访问WP博客时报“您的 PHP 似乎没有安装运行 WordPress 必须的 MySQL 扩展。”,访问phpmyadmin报“无法载入 mysql 扩展”的错误。这个可是个难题,以前从来没遇到过,后来经过在Google大神的帮助下,找到一个更新php的方法:     yum update php -y      mysql_upgrade -u "mysql管理员帐号" -p "密码" 然后重启VPS就OK了,PS 我的VPS是CentOS 以上方法来源:http://hi.baidu.com/zrhua_cn/blog/item/6515f686f5216bac0cf4d2af.html
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn