deStrO / eBot-CSGO

The eBot is a full managed server-bot written in PHP and nodeJS. eBot features easy match creation and tons of player and matchstats. Once it's setup, using the eBot is simple and fast.
http://www.esport-tools.net/ebot
374 stars 137 forks source link

sqlstate 42000 syntax error or access violation 1071 specified key was too long #146

Closed hackertron closed 6 years ago

hackertron commented 6 years ago

I am getting following error when i do php symfony doctrine:build --all --no-confirmation

i have made new mysql user too because default root was giving pdo connection error .

how can i resolve it ?

error error

PolarWooolf commented 6 years ago

I think, #141 will help you

hackertron commented 6 years ago

okay for starters here is my config

debain 9 , php 5.6 ( because of guide i am following ) , mariaDB 10.1.26 .

i have set these things too in mysql set global innodb_file_format = BARRACUDA; set global innodb_large_prefix = ON;

SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.. Failing Query: "CREATE TABLE sf_guard_group (id BIGINT AUTO_INCREMENT, name VARCHAR(255) UNIQUE, description TEXT, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB". Failing Query: CREATE TABLE sf_guard_group (id BIGINT AUTO_INCREMENT, name VARCHAR(255) UNIQUE, description TEXT, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB

hackertron commented 6 years ago

changed the setup to ubuntu 14.04 . solved now !!