How to depooly a php site with mysql using phpmyadmin?
View Single Post
04-12-2009, 06:33 PM
Join Date: Apr 2005
Location: Kent, UK
You don't create a database with the vast majority of hosts, you upload the MySQL dump into the database they made and gave you.
If they didn't give you one, you have to upgrade your hosting package or change hosts.
Remember to match the database connection details of the online version to those given by the host. I keep the details in two files named, say connecton.php and connectlocal.php, but the site will use, say connectme.php When working on my home server, I open connectlocal.php and save as connectme.php. When I decide to upload, I open connecton.php and save as connectme.php. easy peasy. Only one file to update, and no details to edit by hand.
View Public Profile
Send a private message to Dr John
Visit Dr John's homepage!
Find More Posts by Dr John