Originally Posted by Steven Fergus
I have a similar thing which I create for a college project - It's a World Of Warcraft website. The home page has a blog system for an admin to add new articles/new to the home page by using a back-end system. It then displays on the home page with comments etc...
I would like to get that online actually. How would I go about getting the database on my server, so that everything works properly without changing all the code etc...?
|
Assuming you have a hosting account:
- upload your site files to your hosting account
- create a database
- edit your database connection settings on your script(s) localhost is almost all cases stays the same, only thing that needs to be changed is username, password and database name.
- you can get a sql dump file (export the database) of your database from the location its currently on (assuming your using a mysql database with phpMyAdmin this task is pretty straight forward)
-once you have the database file you can upload it into the phpMyAdmin of your hosting account.
This should be all you need to do, ofcourse cant do any of this untill you have a hosting account, could be slightly harder if your site doesnt have 1 database config file (if multiple pages contain database connection settings they will all have to be modified)
Hope this helps