SQL no localhost funciona mas no servidor não
Olá,
Criei todas as tabelas do meu banco de dados MySQL no localhost para depois elevar pro servidor... mas estou com um pequeno erro.
Exportei as tabelas em .SQL no MySQL Front, mas quando fui importar no PHPMyAdmin deu o seguinte erro
#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 9
Será que o problema é na versão do MySQL? A do servidor é 4.0.20 e a do localhost é 4.1.7...
O SQL da tabela tá assim:
CREATE TABLE cms_action ( id int(5) NOT NULL auto_increment, nome varchar(100) default NULL, atalho varchar(100) default NULL, descricao varchar(255) default NULL, codigo text, uid int(5) default NULL, PRIMARY KEY (id)) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5;
Discussão (2)
Carregando comentários...