Installing a MySQL ...
 
Notifications
Clear all

Installing a MySQL back up?

5 Posts
2 Users
0 Reactions
1,314 Views
(@guest1993)
Posts: 0
 

I have what will probably sound like a silly question.

My sister usually handles this stuff, but she's away. I'm changing domains and I have
my new efic set up. I know how to export/back up a database just fine, however, I don't
know how to import/install a back up. I basically want to transfer all of my data from my
old efic to my new one.

Does anyone have any somewhat simple advice on how to do this?

Thanks.  πŸ™‚


 
Posted : 29/04/2008 10:10 am
(@jacci)
Posts: 503
Honorable Member
 

If you already have the backup exported, then it is relatively easy.

1. create a new database on the new host (i used the same usernames and then created the same user and added that to the database) but you can go with a fresh name and user. If you do you will just have to amend the details in the config file.

2. You should now have an empty database. Go into phpMyAdmin and in your empty database, use the import command. Browse for your file you previously saved on your computer, press go and wait. It will take a little while to exectue all the queries.

3. Edit your config file in the efic root directory to reflect the new database/user names. Even if you have the same database name and user you will have to alter your prefix to them.
for example if your host username was  abcd and your efic database was efic, then it woudl be abcd_efic. Your new host username will be different so you will need to change your config file to efgh_efic.

you are done


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 29/04/2008 11:33 am
(@guest1993)
Posts: 0
 

Oh my goodness that sounds so easy!

Thank you so much, Jacci. I really appreciate it.
The new db is already installed with a fresh efic. I just want to move
my data there. I'm going to give it a try right now and hope that I don't mess it up. πŸ™‚

I'll be back to let you know how it went and to <.< beg for help if I ruined it. >.<


 
Posted : 29/04/2008 9:56 pm
(@guest1993)
Posts: 0
 

I'm happy to say that thanks to the wonderful, Jacci, the problem is solved.

Thanks again, Jacci!  πŸ˜€


 
Posted : 30/04/2008 5:20 am
(@jacci)
Posts: 503
Honorable Member
 

You are very welcome, glad you got it sorted  πŸ˜€


why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/     
php: 5.2.5  msql: 5.0.45-community
efic version: 3.4.3           latest patches: yes
bridges: none              mods: challenges, displayword, beta-search

 
Posted : 08/05/2008 9:36 am
Share: