Skip to content

Invalid default value for \'expire\' - CREATE TABLE sessions #4

@MahdiIsComing

Description

@MahdiIsComing

Hi
When Installing the new Demo server (by uncommenting some lines in index.php & open webpage to create tables), some people encounter this error:

Invalid default value for \'expire\' - CREATE TABLE `sessions` (
`id` mediumint(9) unsigned not null auto_increment NOT NULL,
`version` integer NOT NULL default 0,
`session_key` varchar(100) NOT NULL default \'\',
`session_data` longtext NOT NULL,
`expire` datetime NOT NULL default 0,
`tenant` mediumint(9) unsigned NOT NULL default 0,
PRIMARY KEY (`id`))ENGINE=InnoDB DEFAULT CHARSET=utf8;

What's the problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions