Science, Technology and Life

Install phpMyAdmin on OS X 10.8 Mountain Lion

| Comments

In the previous post, we have installed Apache, PHP and MySQL on OS X 10.8. To do administration of mySQL database we can use various app. One of the tool that usually use by programmer to do that is phpMyAdmin. It is a free opensource web app that’s used to manage MySQL database. Let’s install it now.

The first thing that we need to do is open terminal and type

symbolic link for mysql
sudo mkdir /var/mysql

sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock

Extract the downloaded into web folder and rename as phpMyAdmin. So now we should have ~/Sites/phpMyAdmin directory.

On browser, open : http://localhost/~username/phpmyadmin

Now we can login and administer MySQL database.