Skip to content

Instantly share code, notes, and snippets.

@iamkristian
Created April 23, 2012 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamkristian/2469822 to your computer and use it in GitHub Desktop.
Save iamkristian/2469822 to your computer and use it in GitHub Desktop.
MAMP Stack - php.ini
# You need to edit php.ini to point it to the right mysqld.sock
sudo vim /opt/local/etc/php5/php.ini
mysqli.default_socket =/opt/local/var/run/mysql5/mysqld.sock
# After which you can run the script below to complete your installation
/opt/local/lib/mysql5/bin/mysql_secure_installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment