Yes put the information such as DB_HOST etc and save the file as wp-config.php.
You need to create the database (that will be DB_NAME) first before doing the install.
Resources
Installing WordPress
http://www.google.com/search?q=installing+mamp+on+a+mac
OK i created a database in phpmyadmin called tanzania. Then I installed wordpress, changed the bits, saved it as wp-config.php and uploaded it to the thing but it came up as error as follows:
ERROR: Unknown Punctuation String @ 1
STR: <?
SQL: <?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’);
SQL query:
<?php // ** MySQL settings ** // define(‘db_name’, ‘tanzania’);
MySQL said: Documentation
#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘<?php
// ** MySQL settings ** //
define(‘db_name’, ‘tanzania’)’ at line 1
I am confused
[
Why people never read the resource they were given?
Go back to that Installing WordPress link MichaelH gave you and READ it. All. Everything.
Mainly:
http://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.php
Looks like an editor problem–review Editing_Files and make sure you are using a proper editing tool.
OK smart arse I did read the stuff michaelh gave me, then read it again and again. And just to make sure I read it again, but it still doesn’t work. I am using textedit to amend the doc.
OK i created a database in phpmyadmin called tanzania. Then I installed wordpress, changed the bits, saved it as wp-config.php and uploaded it to the thing but it came up as error as follows:
The above is a bit confusing–after you put the correct values in wp-config.php you then upload that file to the proper place and then do the the installation with something similar to
http://example.com/blog/wp-admin/install.php
meh!!
Paste your wp-config.php and xxx out what you put for your values, leave EVERYHTHING else in tact.
theres a typo in your file.
And dont insult volunteers or we might all ignore you.
we dont have to help you.