Add to Favorites
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   10-27-2005, 08:53 AM
HD Management Staff
 
Enrique's Avatar
 
Join Date: Jan 2003
Location: Houston
Posts: 566

Status: Enrique is offline
Old server MySQL version: 4.1.13-standard
New server MySQL version 4.0.25-standard

I am moving my site to a new server and when I try to restore the database on the new server I get the following error:

Error 1064 at line 21: 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 'DEFAULT CHARSET=latin1' at line 6

Any help/advice would be greatly appreciated.
__________________
PixAirline.com - Free & paid image hosting. Sign up now!
 
 
 


Old
  Post #2 (permalink)   10-27-2005, 09:27 AM
HD Wizard
 
Exon's Avatar
 
Join Date: Jul 2003
Location: IA
Posts: 1,020

Status: Exon is offline
Jose,
Is there any way of updating the MySQL on the new server so we could rule that out as a possibility?
__________________
John "Exon" Pinkerton
jpinkerton@exonnet.net
http://www.ExonNet.net
 
 
 


Old
  Post #3 (permalink)   10-27-2005, 10:57 AM
HD Management Staff
 
Enrique's Avatar
 
Join Date: Jan 2003
Location: Houston
Posts: 566

Status: Enrique is offline
John, that's exactly what I did. Problem solved.

Thank you!
__________________
PixAirline.com - Free & paid image hosting. Sign up now!
 
 
 


Old
  Post #4 (permalink)   10-27-2005, 11:02 AM
HD Wizard
 
Exon's Avatar
 
Join Date: Jul 2003
Location: IA
Posts: 1,020

Status: Exon is offline
YAY! Don't ya love it when things work?
__________________
John "Exon" Pinkerton
jpinkerton@exonnet.net
http://www.ExonNet.net
 
 
 


Old
  Post #5 (permalink)   12-19-2005, 11:43 PM
HD Newbie
 
Join Date: Dec 2005
Location: Byron Bay, Australia
Posts: 28

Status: Joomla is offline
This error can be solved by making sure you backup your database 'with backquotes'.

Newer versions of mysql can 'choke' on fields that are not enclosed with backquotes.
__________________
Brad Baker - Rochen Ltd. - 5 Years Industry Experience!
- www.rochen.com |Highly Reliable: Reseller Hosting & Multiple Domain Hosting
- Joomla Core Team Member | Joomla
 
 
 


Old
  Post #6 (permalink)   04-25-2006, 02:09 PM
HD Newbie
 
Join Date: Apr 2006
Posts: 7

Status: littleswebhost is offline
WHen dumping the data database, put in the compability tag, the goes something like:

--compatible=40
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On