Reply
MAMP Wordpress error message
Old 08-10-2009, 10:43 PM MAMP Wordpress error message
Novice Talker

Posts: 11
Trades: 0
Hey there!
I have a problem when running my Wordpress blog on my MAMP server on my MacBook. I just can't figure out where the problem is.
I installed MAMP and started both Apache and MySQL server (green light).
I downloaded all my Wordpress files from my hosts server into the htdocs folder on my hard drive.
I put the right address into the address bar of my browser (http://localhost:8888/AdamPavitt/blog/)
And that is what i get:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums
.

Can someone give me a hint what the problem is???
Thanks a lot.

Cheers honorfield
__________________
It's all happening for a reason.
honorfield is offline
Reply With Quote
View Public Profile Visit honorfield's homepage!
 
 
When You Register, These Ads Go Away!
Old 08-15-2009, 03:58 PM Re: MAMP Wordpress error message
Super Talker

Posts: 101
Trades: 0
You also need to download and import your wordpress database to your local mysql server.

- Login to the server control panel
- Navigate to mysql manager section and access phpmyadmin
- select the database and use EXPORT to dump the database.

On Your Mac
- Open PHPmyadmin
- create database and IMPORT that database file.

Edit your wp-config.php file using the database and mysql user details.
__________________
AccuWebHosting.Com - Windows Hosting Expert
ASP.NET 3.5 | SQL 2005 Database | US Based Hosting Company | 24 X 7 Support | Daily Backups | Uptime Guarantee | Affiliates - $50 Per Sale
| Website Hosting
twhdir is offline
Reply With Quote
View Public Profile
 
Old 08-17-2009, 02:50 AM Re: MAMP Wordpress error message
Novice Talker

Posts: 8
Name: Kailash
Location: twitter.com/webhosttalk
Trades: 0
It seems that you have not configured your wp-config.php file yet. That's why you are receiving this error message. Edit your wp-config.php file and make the required database changes and save it. It should work.

Last edited by Kailash1; 08-17-2009 at 03:18 AM..
Kailash1 is offline
Reply With Quote
View Public Profile Visit Kailash1's homepage!
 
Reply     « Reply to MAMP Wordpress error message
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10761 seconds with 13 queries