homepage Welcome to WebmasterWorld Guest from 54.226.191.80
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
Forum Library, Charter, Moderators: travelin cat

The Macintosh Webmaster Forum

    
Apache, MySql and PHP are all talking- now what?
How to download and test a real website in PHP
ImperialCommand




msg:4141823
 1:43 pm on May 27, 2010 (gmt 0)

At long last I've figured out how to get Apache, PHP and MySql running on my Macbook Pro.
Apache Server and MySql Server are running un MAMP
I'm using VirtualHostX to establish my downloaded site presence.

I've downloaded my WordPress website and exported it's MySql database tables onto the Mackbook.
So it's time to jump into the deep end of the pool.

And I'm getting message:
"Error establishing a database connection"

I need a little help getting the WordPress site to connect on the MacBook.
Any help?

 

coopster




msg:4142884
 2:06 pm on May 28, 2010 (gmt 0)

Did you CREATE a database yet? If so, did you then set up a user profile and password for the database user? Also GRANT them the correct privileges?

ImperialCommand




msg:4143168
 7:08 pm on May 28, 2010 (gmt 0)

Yes, thank you. The database was created first using MAMP.

I got it running though it was a bear.

I download WordPrss and installed in the proper working folder and followed it 5-minute install.
However, it turned out to be a 305-minute install.

Instead of using the usual "localhost" it had to be: localhost:/applications/mamp/tmp/mysql/mysql.sock
So now it's running okay.

Anyway, don't ask me to do it again. ;>)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved