[Solved]Restore Database

Support for IntegraMOD 140

Moderator: Integra Moderator

[Solved]Restore Database

PostAuthor: Falconenator » Wed May 10, 2006 3:27 pm

Im having trouble restoring database cause i went to a new host so did a freash install now im trying to restore the backup sql from the old forums but every time i try and restore database i get this error

Error importing backup file

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_general_ci default '', `lw_date` int(11) defa

CREATE TABLE `phpbb_account_hist` ( `user_id` mediumint(8) default '0', `lw_post_id` mediumint(8) default '0', `lw_money` float default '0', `lw_plus_minus` smallint(5) default '0', `MNY_CURRENCY` varchar(8) collate latin1_general_ci default '', `lw_date` int(11) default '0', `comment` varchar(255) collate latin1_general_ci default '', `status` varchar(64) collate latin1_general_ci default '', `txn_id` varchar(64) collate latin1_general_ci default '', `lw_site` varchar(10) collate latin1_general_ci default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci

Line : 1388
File : admin_db_utilities.php


Can anyone help me

Edit: it would seem the new database does not have a collate column as the old one did is there anyway around this or a way to add that column
Last edited by Falconenator on Thu May 11, 2006 10:43 am, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 9:37 am
Cash on hand: 0.00

PostAuthor: bbalegere » Wed May 10, 2006 9:43 pm

I have same problem.
Last edited by bbalegere on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

bbalegere
Newbie
Newbie
 
Posts: 26
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 10:22 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu May 11, 2006 1:33 am

Is your db file larger than 2Mb (that is 2Mb without Gzip compression)? If yes, did you use a splitter program such as bigdump?

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Falconenator » Thu May 11, 2006 4:56 am

EDIt: ok i deleted some of the error lines as it seems there where already in there

it fully updated and it seems there are post but only in test category. In order to get them all back to look exactly like the orginal do i have to upload my old files aswell onto the new host?
Last edited by Falconenator on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Falconenator
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 17, 2006 9:37 am
Cash on hand: 0.00

Re: [Solved]Restore Database

PostAuthor: Mighty07 » Tue Jun 06, 2006 8:43 am

Did you resolved this issues?
Last edited by Mighty07 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Mighty07
Newbie
Newbie
 
Posts: 25
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 13, 2006 12:38 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot]