Welcome to WebmasterWorld Guest from 50.16.78.128

Forum Moderators: travelin cat

Message Too Old, No Replies

Apache, MySql and PHP are all talking- now what?

How to download and test a real website in PHP

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

5+ Year Member



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?
2:06 pm on May 28, 2010 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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?
7:08 pm on May 28, 2010 (gmt 0)

5+ Year Member



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. ;>)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month