Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pelsar

macrumors regular
Original poster
Apr 29, 2008
180
0
israel
ok..i'm now attempting to learn wordpress and "check it out"...first problem is the MAMP. got it installed (or so it claims) and then i go to set up the MySQL, which i understand i need...except that i have no idea what to do next:

am i creating a "new datatbase"? and whatabout all of those options?

and how and where and what do i put in the htdocs folder (i assume this is where the files are stored).
 
You'll want to use PhpMyAdmin, which is installed with MAMP. You can access it at http://localhost/phpmyadmin/ with the default install. I'm trying to remember the default account, maybe root and empty password. PHPMyAdmin lets you adminstrate MySQL through a web interface including adding a new database for WordPress and creating accounts.

What you dump in your htdocs folder? Whatever you want. If your site will just have your WordPress on it you might as well take all of the WordPress files and put them directly in the root directory (the htdocs) and then when you access localhost it'll go to WordPress front page (once setup). You would also create a folder in htdocs and place all your WordPress files in it. It's up to you.
 
I'm trying to remember the default account, maybe root and empty password. PHPMyAdmin lets you adminstrate MySQL through a web interface including adding a new database for WordPress and creating accounts.

It's usually user: root, password: root

What you dump in your htdocs folder? Whatever you want. If your site will just have your WordPress on it you might as well take all of the WordPress files and put them directly in the root directory (the htdocs) and then when you access localhost it'll go to WordPress front page (once setup). You would also create a folder in htdocs and place all your WordPress files in it. It's up to you.

If you do the former, your WP page will come up when you go to http://localhost:8888/ . If you put it in another folder, go to http://localhost:8888/yourfolder .
 
not yet....

this is not working out very well.....

got the MAMP serve up and running on my mac (localhost)...put the wordpress php files in the default htdocs folder....yet the php files are not recognized as such and the browser doesnt open them....

any ideas?
 
did you edit your wp_config.php file so it looks for the right database? Go to that file and open it with a text editor. It'll should be edited to look something like this:

Code:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'mysql');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', 'root');

/** MySQL hostname */
define('DB_HOST', 'localhost:8888');
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.