After performing a migration to Pandora FMS 4.0, the following event could take place:
DBD::mysql::db do failed: Failed to read auto-increment value from storage engine at /usr/lib/perl5/PandoraFMS/DB.pm line 556.
Should you encounter this error after starting your PandoraFMS Server, the following line should be inserted into your Pandora FMS DB:
ALTER TABLE tsesion AUTO_INCREMENT = 1;