vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problems migrating DB from MySQL 3.23.58 to MySQL 4.1.15-Debian_1-log (https://vborg.vbsupport.ru/showthread.php?t=106795)

hinch 01-31-2006 09:03 AM

Problems migrating DB from MySQL 3.23.58 to MySQL 4.1.15-Debian_1-log
 
OK so strange problem

My current vB and database are running on quite an old system mysql 3.23.58

I'm using the following command to backup the DB contents into a text file
mysqldump --opt -c --all --extended-insert -u hinch -p hinch_main > faSQLdump.sql

Now the machine I'm trying to move to is 4.1.15-Debian_1-log

when i try to import the database using mysql -u root -p faold < faSQLdump.sql
I get a nice little error

ERROR 1064 (42000) at line 514: 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 'group varchar(16) NOT NULL default '',
online int(1) default '0',
last_onlin' at line 12

I'm assuming this is caused by the way mysql is outputting the backup .sql file in the first place have i missed some flags out I should have put on the mysql dump command? Is there a better/easier way of doing this migration?

Xenon 01-31-2006 03:47 PM

you could simply copy the myd files to the new server and run the upgrade afterwards, that's what i do locally normally

hinch 02-07-2006 08:42 AM

normally i would just copy across and upgrade that way my problem is the current server is a shared server which i dont have access to the myd files from.

so I have to rely on the mysql backup proc stuff


All times are GMT. The time now is 02:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00996 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete