Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 20

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 Installation and Upgrades

Reply
 
LinkBack Thread Tools Display Modes
Old 14.01.2005, 19:59   #1 (permalink)
Senior Mamber
 
theconsul's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 150
theconsul is an unknown quantity at this point
Send a message via MSN to theconsul
RedCross sql version error when trying to move db to another host

Hi guys,


have siome problems concerning moving a mambo 4.5.1 site to another host:

at first i downloaded all files and uploaded them to the new host

second i modified the config file

third i want to download all db info and put ik back into the new database on my new host but....

if i do that i get following error..:

Code:
 # --------------------------------------------------------
#
# Tabel structuur voor tabel `mos_components`
#
CREATE TABLE mos_components( id int( 11 ) NOT NULL AUTO_INCREMENT ,
name varchar( 50 ) NOT NULL default '',
link varchar( 255 ) NOT NULL default '',
menuid int( 11 ) unsigned NOT NULL default '0',
parent int( 11 ) unsigned NOT NULL default '0',
admin_menu_link varchar( 255 ) NOT NULL default '',
admin_menu_alt varchar( 255 ) NOT NULL default '',
OPTION varchar( 50 ) NOT NULL default '',
ordering int( 11 ) NOT NULL default '0',
admin_menu_img varchar( 255 ) NOT NULL default '',
iscore tinyint( 4 ) NOT NULL default '0',
params text NOT NULL ,
PRIMARY KEY ( id ) ) TYPE = MYISAM
Code:
 MySQL retourneerde:  
 
#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 'option varchar(50) NOT NULL default '',
ordering int(11) NOT
still the system uploaded allready 18 tables like mos_banner

what can i do to fix it?

Many thx

Tc (Roger)
__________________
Revina
Mail me

Last edited by Admin; 14.01.2005 at 21:47. Reason: Removed Image from remote secure server
theconsul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 15.01.2005, 14:10   #2 (permalink)
Baby Mamber
 
bvsweeney's Avatar
 
Join Date: Sep 2004
Location: Atlanta, GA
Posts: 2
bvsweeney is on a distinguished road
Send a message via MSN to bvsweeney
Default Re: sql version error when trying to move db to another host

I ran into the same problem last week. I was debugging down all kinds of bizarre errors until I found a post that mentioned a utility called BIGDUMP (no joke ). The DB import was breeze after that and all of my bizarro errors disappeared.
bvsweeney is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.01.2005, 09:57   #3 (permalink)
Senior Mamber
 
theconsul's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 150
theconsul is an unknown quantity at this point
Send a message via MSN to theconsul
Default Re: sql version error when trying to move db to another host

i used bigdump, thx for that but..;

the system says that it went ok...still cannot connect to database and this is what i get: http://www.plotsandprojects.com/
__________________
Revina
Mail me
theconsul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.01.2005, 16:47   #4 (permalink)
Baby Mamber
 
Join Date: Jan 2005
Posts: 3
germes is on a distinguished road
Default Re: sql version error when trying to move db to another host

Hi,
in CREATE TABLE the field that has the same name as mysql keywords must be quoted. you have field - ordering - it is key word. use `ordering`.
Thats all,
best regards.
germes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.01.2005, 19:02   #5 (permalink)
Senior Mamber
 
theconsul's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 150
theconsul is an unknown quantity at this point
Send a message via MSN to theconsul
PostIt Re: sql version error when trying to move db to another host

Quote:
Originally Posted by germes
Hi,
in CREATE TABLE the field that has the same name as mysql keywords must be quoted. you have field - ordering - it is key word. use `ordering`.
Thats all,
best regards.
the quotes did the job

thx
__________________
Revina
Mail me
theconsul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Problem with database backup/restore component pocketom Mambo 4.5 General Talk 0 16.11.2004 17:50
PDF Hack dmj Komponenten 4 14.09.2004 02:44
updated version Display Menu - JSCook -> Version 1-2 stingrey Development Announcements 8 30.07.2004 18:42


All times are GMT +2. The time now is 10:08.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.