Welcome, Guest
Please Login or Register.
Lost Password?
Re: Mysql Error when restoring a server... (1 viewing)
Post Reply

TOPIC: Re: Mysql Error when restoring a server...

#4478
JohnPenrod (User)
Posts: 39
graphgraph
Mysql Error when restoring a server... 2007/04/07 22:26  
Any ideas why I got this? This is a base install of cent os with a new install of virtualmin...


===cut===

Creating MySQL database server1-smf ..
Restore failed : SQL create database server1-smf failed : 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 '-smf' at line 1

===cut===
  The administrator has disabled public write access.
#4488
kcackler (User)
Posts: 66
graphgraph
Re: Mysql Error when restoring a server... 2007/04/08 17:51  
This is just a shot in the dark, but are you using a different version of MySQL now than you were before? If so, you're almost guaranteed to have issues.
Kevin
  The administrator has disabled public write access.
#4489
Joe (Admin)
Posts: 4213
graph
Re: Mysql Error when restoring a server... 2007/04/08 18:20  
Hey John,

Kevin's right, though it usually only causes trouble if you go backward from a newer MySQL to an older one. Restoring dumps from old versions to new usually goes fine. It's also possible (though less likely) that the backup was made on a MySQL that had extra features patched in and the new one does not (sometimes this can be particularly problematic).
  The administrator has disabled public write access.
#4490
Joe (Admin)
Posts: 4213
graph
Re: Mysql Error when restoring a server... 2007/04/08 18:21  
BTW-It might be as simple as renaming the database. I dunno. It looks like it's compaining about the - in your database name. Maybe MySQL now disallows this character in database names.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.