Database connection problem/ on mamp and actual server
-
Hi,
I have a problem with database connection. I have to tell you the whole story. Sorry that it is long.I always start building a wordpress site on my computer local host/ Mamp. I put localhost:8889 as DB-Host in the config.php file, and make my database in PhpMyadmin of Mamp. Everything works OK, until I want to move the database to online server for actual site. Then I have problem. The actual site url shows localhost:8888/xxxx (whatever I have named the site on my local host).
Since I don’t understand the database connection, I always have to call the host server and ask them to connect the database correctly. And they usually do, they do something secretly and don’t tell me what they have done, so I learn what to do next time. Fine, it has worked for me to get their help. Until this time, that Telus host provider couldn’t help me.
So, I figured if I go to to phpMyadmin and change the url in the option table form https://localhost:8888/xxx to the url of actual site online, it should do it. Well, almost did it, but then my Mamp screwed up. now when I open my mamp, it gives me error 403, (Forbidden You don’t have permission to access /MAMP/ on this server.
Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 Server at localhost Port 8888)But now, even with this error, when I go to my localhost site, the url in general setting is the actual site https://caaXXX.com instead of https://localhost:8888/XXX. now even more strange, when I change it to https://localhost:8888/XXX, the actual site online goes whacky and connects to localhost:8888.
This is very bizarre to me. If anyone knows what is going on, please help me and make me understand how to fix this for the love of GOD ??
Thanks all database and wordpress experts.
Helen
- The topic ‘Database connection problem/ on mamp and actual server’ is closed to new replies.