Welcome to Pandora FMS Community › Forums › Community support › Mysql error after installing
-
Mysql error after installing
Posted by Edgar on February 4, 2010 at 12:44Hi,
I installed pandora under ubuntu 9, everything was fine but i could not start server… this error shown at log:
2010-02-03 19:02:28 hercules [V1] Pandora FMS Server ‘hercules’ unhandled error.
2010-02-03 19:02:28 hercules [V1] [E] ‘hercules’: DBD::mysql::db do failed: Table ‘pandora.tsesion’ doesn’t exist at /usr/local/share/perl/5.10.0/PandoraFMS/DB.pm line 216What can I do?
Best regards
Edgar replied 15 years ago 3 Members · 5 Replies -
5 Replies
-
::
database is wrong, the table where is stored the user sessions is missing, for a best chance, try to reinstall the console… in this process is when the db is created.
if it continues going wrong, create it manually:
CREATE TABLE IF NOT EXISTS `tsesion` (
 `ID_sesion` bigint(20) unsigned NOT NULL auto_increment,
 `ID_usuario` varchar(60) NOT NULL default ‘0’,
 `IP_origen` varchar(100) NOT NULL default ”,
 `accion` varchar(100) NOT NULL default ”,
 `descripcion` varchar(200) NOT NULL default ”,
 `fecha` datetime NOT NULL default ‘0000-00-00 00:00:00’,
 `utimestamp` bigint(20) unsigned NOT NULL default ‘0’,
 PRIMARY KEY (`ID_sesion`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; -
-
-
-