Help in shifting from another server

smagnum

New Member
Messages
2
Reaction score
0
Points
0
Having signed up with x10.hosting,which is great, I need help in transfering my contents from another server to this one.

I transfered my database from the other server to x10 via phpmyadmin which was done in second [great speed by x10], now if iam transfering my files from the other server how will they link to my database, since the name of the database on the other account was vivekwwe_soandso and no magnum_soandso, should i have to change any values any where, pls help me.
 

xmakina

New Member
Messages
264
Reaction score
0
Points
0
I'm guessing you're using PHP so you need to find the any mysql_connect commands e.g. mysql_connect("localhost","<USERNAME>","<PASSWORD>");

and also

mysql_select_db("<DATABASE NAME>", $connection);

Hopefully you did the smart thing and used require("databaseconnect.php") in all your database pages so you'll only have to change one file. Otherwise go get NotePad++, open all the files and use "Replace In All Open Files"
 
Top