InnoDB does not like long primary keys so an auto_increment field is used instead of the session ID
As no primary key is now known, delete the MySQL\Standard\Save database function which used "replace"
Here is the query to update existing tables: alter table osc_sessions add pk int unsigned not null auto_increment first, drop primary key, add primary key (pk), add index idx_sessions_id (id);