Pero veras/eis tengo un problema depues de haber creado la base de datos con SQyLOG al nombre de antrix y es al intentar ejecutar el archivo "Terranet6 base full.sql"
Me dice que se ha creado un error y es este:
Citar
Error occured at:2007-07-13 11:32:27
Line no.:26
Error Code: 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 'on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL def
Query:
CREATE TABLE `accounts` (
`acct` bigint(20) NOT NULL auto_increment,
`login` varchar(255) NOT NULL default '',
`password` varchar(28) NOT NULL default '',
`gm` varchar(27) NOT NULL default '',
`banned` int(30) NOT NULL default '0',
`lastlogin` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL default '',
`email` varchar(50) NOT NULL default '',
`flags` int(11) NOT NULL default '0',
PRIMARY KEY (`acct`,`login`),
UNIQUE KEY `acct` (`acct`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1
Error occured at:2007-07-13 11:32:46
Line no.:26
Error Code: 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 'on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL def
Line no.:26
Error Code: 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 'on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL def
Query:
CREATE TABLE `accounts` (
`acct` bigint(20) NOT NULL auto_increment,
`login` varchar(255) NOT NULL default '',
`password` varchar(28) NOT NULL default '',
`gm` varchar(27) NOT NULL default '',
`banned` int(30) NOT NULL default '0',
`lastlogin` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL default '',
`email` varchar(50) NOT NULL default '',
`flags` int(11) NOT NULL default '0',
PRIMARY KEY (`acct`,`login`),
UNIQUE KEY `acct` (`acct`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1
Error occured at:2007-07-13 11:32:46
Line no.:26
Error Code: 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 'on update CURRENT_TIMESTAMP,
`lastip` varchar(15) NOT NULL def
Espero que me podais ayudar, por lo que yo e leido y entiendo es que mi version de MySQL esta desactualizada, pero eso no peude ser ya que tengo la ultima, peude ser el SQyLOG? O que es demasiado nuevo el MySQL de mi version?
Gracias