Showing posts with label mysql. Show all posts
Showing posts with label mysql. Show all posts

Wednesday, 23 October 2013

Apache, MySQL and PHP in OS X Mavericks 10.9

Unfortunately upgrading from OS X Mountain Lion ( 10.8) to Mavericks (10.9) stopped my AMP (Apache, MySQL, PHP) installation working.



Luckily, this is just down to an apache configuration file being overwritten and is easy to correct...

1. Edit Apache Configuration

sudo vi /private/etc/apache2/httpd.conf

a. Uncomment following line to re-enable virtual hosts: -

    Include /private/etc/apache2/extra/httpd-vhosts.conf

b. Uncomment following line to re-enable PHP: -

    LoadModule php5_module libexec/apache2/libphp5.so

2. Restart Apache

sudo apachectl restart


There was no need to change any of my MySQL installation, this continued working after the installation.

Saturday, 28 March 2009

Backup of all MySQL databases

To backup all MySQL databases on a machine, use the following command: -