- Postagens: 27
- Obrigados Recebidos: 0
[RESOLVIDO] Error number 1064
- afonsilho
-
Autor do Tópico
- Offline
- JCB! Colaborador
-
Procurei aqui no forum e no google, em outros foruns, e vejo que tem muita gente com esse mesmo erro no banco MySQL, com instalação de componentes diferentes, e nenhuma solução.
Já antecipando, não, não mudei o prefixo padrão das tabelas do joomla, está com o padrão jos.
Meu xampp é o 2.5. Este erro não acontecia em versões anteriores do xampp.
O erro completo:
JInstaller::install: Erro do SQL. DB function failed with error number 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 'TYPE=MyISAM' at line 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Componente Instalar: Arquivo SQL com erro, inexistente ou inacessível para leitura. DB function failed with error number 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 'TYPE=MyISAM' at line 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Alguém sabe como resolver isso?
Please Entrar ou Registrar to join the conversation.
- mps
-
- Offline
- JCB! Novato
-
- Postagens: 7
- Obrigados Recebidos: 0
afonsilho escreveu: Estou com um problema na instalação de um componente pra o joomla 1.5.23
Procurei aqui no forum e no google, em outros foruns, e vejo que tem muita gente com esse mesmo erro no banco MySQL, com instalação de componentes diferentes, e nenhuma solução.
Já antecipando, não, não mudei o prefixo padrão das tabelas do joomla, está com o padrão jos.
Meu xampp é o 2.5. Este erro não acontecia em versões anteriores do xampp.
O erro completo:
JInstaller::install: Erro do SQL. DB function failed with error number 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 'TYPE=MyISAM' at line 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Componente Instalar: Arquivo SQL com erro, inexistente ou inacessível para leitura. DB function failed with error number 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 'TYPE=MyISAM' at line 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Alguém sabe como resolver isso?
Please Entrar ou Registrar to join the conversation.
- afonsilho
-
Autor do Tópico
- Offline
- JCB! Colaborador
-
- Postagens: 27
- Obrigados Recebidos: 0
- afonsilho
-
Autor do Tópico
- Offline
- JCB! Colaborador
-
- Postagens: 27
- Obrigados Recebidos: 0
dei um find no dream na pasta com os arquivos do componente e apareceu o TYPE=MyISAM apenas no arquivo sql, nesse caso fpss.sql.
apareceu 2 ocorrências de TYPE=MyISAM, troquei pelo ENGINE=MyISAM e vualáaaaa, resolvido. instalou normalmente.
Essa solução simples mas que só nosso amigo aqui sabia, pode resolver em outros componentes tbm. Mais uma vez obrigado mps.
Please Entrar ou Registrar to join the conversation.
- mps
-
- Offline
- JCB! Novato
-
- Postagens: 7
- Obrigados Recebidos: 0
Abraços..
afonsilho escreveu: Para completar aqui como fiz.
dei um find no dream na pasta com os arquivos do componente e apareceu o TYPE=MyISAM apenas no arquivo sql, nesse caso fpss.sql.
apareceu 2 ocorrências de TYPE=MyISAM, troquei pelo ENGINE=MyISAM e vualáaaaa, resolvido. instalou normalmente.
Essa solução simples mas que só nosso amigo aqui sabia, pode resolver em outros componentes tbm. Mais uma vez obrigado mps.
Please Entrar ou Registrar to join the conversation.