News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Database error ?

Started by matija, December 04, 2005, 06:48:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matija

Error at the line 38: ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;

Query: CREATE TABLE `cpg133_albums` ( `aid` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `description` text NOT NULL, `visibility` int(11) NOT NULL default '0', `uploads` enum('YES','NO') NOT NULL default 'NO', `comments` enum('YES','NO') NOT NULL default 'YES', `votes` enum('YES','NO') NOT NULL default 'YES', `pos` int(11) NOT NULL default '0', `category` int(11) NOT NULL default '0', `pic_count` int(11) NOT NULL default '0', `thumb` int(11) NOT NULL default '0', `last_addition` datetime NOT NULL default '0000-00-00 00:00:00', `stat_uptodate` enum('YES','NO') NOT NULL default 'NO', `keyword` varchar(50) default NULL, `alb_password` varchar(32) default '', `alb_password_hint` text, PRIMARY KEY (`aid`), KEY `alb_category` (`category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;

MySQL: Something is wrong in your syntax obok 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=29' w linii 20

Stopped on error
---------------------------------------------------------------------
I get the following message when trying to upload the file into phpMyadmin with bigdump. File can't be uploaded either directly in pma. I backed up tables with phpmyadmin on other server and this error occurs, is there any way to fix or make it work?

Nibbler

Export the db using the mysql 4 compatibility option in phpmyadmin.