04-12-2009, 06:33 PM
|
#4 (permalink)
|
|
The Contributor
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
|
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.
|
|
|
|