Fixing PHP MySQL Support after MacOS 10.4.4 Upgrade

I upgraded to OS 10.4.4 a couple of days ago, and this morning discovered that PhpMyAdmin was telling me it couldn't connect to the database despite the fact that I knew mysqld was running, and accessible via the command-line client.

Fortunately, the fix is very simple - edit your /etc/php.ini (or create it, if it doesn't exist) file and make sure the mysql.default_socket line looks like this:

mysql.default_socket =/tmp/mysql.sock

I found this and other 10.4.4 fixes on this Macfixit.com page.

Tagged:

Also

Syndicate content

Twitter

  • I don't think it gets much better than 'Revolver' on vinyl. 2 years 49 weeks ago
  • Have fun at #drupalcon everybody! I hate to break my 3 year streak, but I should be back next year... 3 years 18 weeks ago
  • Just made my first Drupal 7 module, 'Entity Relationships', official: http://bit.ly/h3xnPK #drupal #entities #module 3 years 18 weeks ago
  • Already set up my first #git sandbox project for #drupal: http://drupal.org/sandbox/usonian/1072422 3 years 19 weeks ago
  • Drupal.org is coming back online - just set up my SSH keys for #git. Huge props to the #drupal git migration team! 3 years 19 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key