Code: Select all
# ./ejudge-install.sh
Code: Select all
mysql: ALTER DATABASE [i]база_данных[/i] DEFAULT CHARACTER SET 'utf8' ;
mysql: CREATE TABLE IF NOT EXISTS config (config_key VARCHAR(64) NOT NULL PRIMARY KEY COLLATE utf8_bin, config_val VARCHAR(64) )
mysql: CREATE TABLE logins (user_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, login VARCHAR(64) NOT NULL UNIQUE KEY COLLATE utf8_bin, email VARCHAR(128), pwdmethod TINYINT NOT NULL DEFAULT 0, password VARCHAR(128), privileged TINYINT NOT NULL DEFAULT 0, invisible TINYINT NOT NULL DEFAULT 0, banned TINYINT NOT NULL DEFAULT 0, locked TINYINT NOT NULL DEFAULT 0, readonly TINYINT NOT NULL DEFAULT 0, neverclean TINYINT NOT NULL DEFAULT 0, simplereg TINYINT NOT NULL DEFAULT 0, regtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP, logintime TIMESTAMP DEFAULT 0, pwdtime TIMESTAMP DEFAULT 0, changetime TIMESTAMP DEFAULT 0 )
2017-07-05T12:20:44Z:error:database error: Invalid default value for 'logintime'
2017-07-05T12:20:44Z:error:plugin mysql failed to create a new database
Command failed: /opt/ejudge/libexec/ejudge/bin/ej-users -u ejudge -g ejudge --convert --from-plugin xml --to-plugin mysql
Версия MySQL-сервера из phpMyAdmin:
Code: Select all
Сервер: Localhost via UNIX socket
Тип сервера: MySQL
Версия сервера: 5.7.18 - MySQL Community Server (GPL)
Версия протокола: 10
Кодировка сервера: UTF-8 Unicode (utf8)
Спасибо.