Wednesday, 15 February 2012

Joomla on a Mac

So, I've been trying out the cloudaccess.net version of Joomla and I thought I'd try the totally free downloadable version, mainly to see the differences and also to perhaps edit files more locally.

Just read up on the txt file which comes with the download, takes you to this page for installation requirements. At the bottom of the page it says there is a quicker way then installing all the little things; MAMP, Macintosh, Apache, Mysql and PHP

So... here's how I did it:

  1. Download MAMP and install
  2. run MAMP from applications folder
    1. Go to "Open Start Page" or open browser and type : http://localhost:8888/MAMP
    2. Go to MyPHPAdmin
      1. Name a new database and click create
  3. Now download Joomla
    1. unzip it (if safari doesn't)
      1. Put the new folder in /Applications/MAMP/htdocs
    2. In the web-browser go to http://localhost:8888/Joomla_2 (or whatever folder you've named it)
    3. It now takes you through the Joomla installation
    4. One point I got stuck on was the database name. Type in the database name you created in MyPHPAdmin
    5. The default password for the database thing is:
      1. username = root
      2. password = root
      3. I wouldn't change these if I were you. If you do:
        1. Go to MAMP/bin/mamp/index.php and change the password bit
        2. Got to MAMP/bin/MyPHPAdmin/config.inc.php and change the password bit in here too
  4. Done!!
I'm going to try and download the joomla site I made on cloudaccess.net and put it on the computer? I shall hopefully write a post and stick it up here.


Notes:

Had this error message come up:

Could not connect to the database. Connector returned number: 2

Turns out I didn't create the database and/or put the right password in. It would be easier if Joomla could do this bit?

I'd gone and changed the password for root in MAMP!! Doh, I ended up having to look for where the password entries were for each part of MAMP. Found the main two:


  1. Go to MAMP/bin/mamp/index.php and change the password bit
  2. Got to MAMP/bin/MyPHPAdmin/config.inc.php and change the password bit in here too



How can I change the password for the MySQL database?



Open the terminal and type the following:
/Applications/MAMP/Library/bin/mysqladmin -u root -p password

Instead of 
 use the new password you want.
Afterwards, you also need to change the password for phpMyAdmin and other scripts which are running under MAMP. You can change the password for phpMyAdmin in the file /Applications/MAMP/bin/phpMyAdmin-X.X.X/config.inc.php

No comments:

Post a Comment