Leopard: Install Local Wordpress using MAMP

Home -> Apple Mac -> Mac OS X Leopard

4144 views

From the computer of: davak (396 recipes)
Created: Jan 27, 2008


2 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

Installing a local version of wordpress is very easy using MAMP. In fact, the configuration and installation is quicker than downloading the packages. Let's get started...

Previously I have described how to manually install wordpress and mysql locally on a leopard box. With a failed step or two, the manual installation can be ugly very quickly. MightQ suggested MAMP.

MAMP + WP on leopard is less graceful but much, much easier.

1. Download MAMP
2. While you are installing MAMP, Download WP
3. Mount the MAMP dmg and drag the folder into your applications directory. No not use a subdirectory.
4. You can turn on the mysql and apache servers through installing the widget into your dashboard or by clicking the MAMP application. Start the servers now.



5. Click the Open start page button
6. The Welcome to MAMP page should open. You should record your mysql information that will look similar to this...


To connect to the MySQL Server from your own scripts use the following connection parameters:

Host: localhost
[Port: 8889]
User: root
Password: root





7. Click the phpMyAdmin link at the top of that page.



8. In phpMyAdmin Create new database named "wordpress" (or whatever) and hit the Create button



9. Uncompress and place your downloaded wordpress installation and in a subfolder of your htdocs folder in the MAMP install. In the example below I used a folder named techrx. I will assume that you will use the name "blog" for the purposes of this tutorial.



10. In your wp install, right-click (ctrl-click) on the wp-config-sample.php file and open it in textedit (or your favorite editor of choice)
11. Change the config file to match your mysql settings above. If you named your database something other than wordpress, then use that name instead.

// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', 'root'); // ノand password
define('DB_HOST', 'localhost:8889');  //





12. Important to save this file to a new file named wp-config.php

13. Point your browser to http://localhost:8888/blog to start the initiation of your wp install.

(If you placed wp in a different directory, you would replace blog with the name you picked. I used techrx, for example.)

14. Record your temp admin password to log into your install. Change this login password to something easy to remember once you login.

15. Now when you visit http://localhost:8888/blog it should be pointed to your local wp installation.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.




2 Recipe comments: View comments

Leopard: Install Local Wordpress using MAMP by TomTomm
My bad- this works flawlessly by TomTomm



Related recipes:

  Leopard: How to Install Wordpress
  Leopard: Connect to a VNC Server
  Leopard Dictionary: Check Grammar
  Leopard: Map Any Address in Google Maps
  Leopard Mail: Create New Stationery
  Leopard: Web Clip with Safari to Create Automatic Dashboard Widgets
  Leopard: Spring Loaded Dock
  Leopard Stacks: View Dock Folder as Grid or Fan
  Leopard Terminal: TABS!
  Leopard Spotlight: Calculator

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.