Ho fatto il dump del db sul server,
e quando vado a fare il restore sul mio computer ricevo il seguente errore:
#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 'DEFAULT CHARSET=latin1' at line 10
cosa significa e come posso fare per fare il restore?
Sul server c'è mysql. 4.1.8 in locale 4.0.20 forse dipende dal tipo di mysql installato, ma come versioni sono recenti entrambe!
Esempio di tabella che da errore nel restore:
CREATE TABLE `phpads_acls` (
`bannerid` mediumint(9) NOT NULL default '0',
`logical` set('and','or') NOT NULL default '',
`type` varchar(16) NOT NULL default '',
`comparison` char(2) NOT NULL default '==',
`data` text NOT NULL,
`executionorder` int(10) unsigned NOT NULL default '0',
UNIQUE KEY `bannerid_executionorder` (`bannerid`,`executionorder`),
KEY `bannerid` (`bannerid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;