1
richardw
Move an Xoops site and mysql
  • 2004/2/11 16:39

  • richardw

  • Just popping in

  • Posts: 34

  • Since: 2003/4/15


I´m going to move my XOOPS soon and yesterday I did a little test. Tried to move the sql database, thru phpMyAdmin, but it didn´t work. I chosed Export and when i tried to import them back into the database I just got a error message (something like "It´s not an sql query"). Can someone help me? I know this topic been up before but I couldnt find it anywhere.

Have a nice day

2
m0nty
Re: Move an Xoops site and mysql
  • 2004/2/12 5:22

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


copy all your files from your server to your new server.. you will need to change the info in mainfile.php with your new database names, username etc and paths..

in mysql, dump the database as an sql, and make sure it's both structure & data selected, tick the box that says use drop tables.. altho not necessary if ur importing to an empty database..

u may need to split the dumped file into smaller files and upload in stages as sometimes time outs occur..

but with that error message ur receiving it sounds like ur imported file is of the wrong format.. if it's compressed (zip or gzip) then make sure to unzip it 1st and import the sql file and not the zipped file..

Login

Who's Online

138 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits