Importing database to server .
Moderator: General Moderators
Importing database to server .
Ok so i usually practice PHP using Xampp , now , i'd like my PHP script to be tested on a live server . i can upload all my scripts to my server , but what about the database ?? how is that done ? which database will the scripts be interacting with ?? .
Re: Importing database to server .
You can export your dev database and them import it on the live server. What you use to do that is a matter of personal preference. Sequel Pro, HeidiSQL, even phpMyAdmin will do the job. Which database the script interacts with is whichever one you tell it to. You're the one configuring the connection. 'localhost' always refers to the machine the script is running on, but you could connect to an external server just as easily.