News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Importing Database

Started by ALEJO, June 17, 2008, 08:32:09 PM

Previous topic - Next topic

ALEJO

i downloaded a backup from my forum an then tryed to import (via mysql) the files to a fresh installed forum, but got this.

Error

consulta SQL:

CREATE TABLE `smf_log_digest` (
id_topic mediumint( 8 ) unsigned NOT NULL default '',
id_msg int( 10 ) unsigned NOT NULL default '',
note_type varchar( 10 ) NOT NULL default 'post',
daily smallint( 3 ) unsigned NOT NULL default 0,
exclude mediumint( 8 ) unsigned NOT NULL default 0
) TYPE = MYISAM ;

MySQL ha dicho: Documentación
#1067 - Invalid default value for 'id_topic'
solo el mas paranoico sobrevive

jerm

What's your SMF version and your mySQL version?

Rumbaar

Some versions of mySQL have issue with null values of a default value.  Try manually changing default '', values to default '0', and see how you go.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: