[Resolved] [Mac OS] Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

When you see this error. You can fix it by command:

sudo port install php5-mysql

Then

To use mysqlnd with a local MySQL server, edit /opt/local/etc/php5/php.ini and set

mysql.default_socket, mysqli.default_socket and pdo_mysql.default_socket

to /opt/local/var/run/mysql5/mysqld.sock

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: