Open wilsonge opened 6 years ago
Is it when you try to run get project?
nope. when i try to run bin/jtracker install
to setup my db
Hmm, I've tried several times to install from scratch and did not hit this error. As I understand you are not running vagrant setup? If yes then check this one: https://stackoverflow.com/questions/15438840/mysql-error-1364-field-doesnt-have-a-default-values
maybe dued to strict mode different setting
can you check the STRICT_TRANS_TABLES
with something like
SHOW VARIABLES LIKE 'sql_mode';
if you got STRICT_TRANS_TABLES
than means that if you declare a field not null like gh_editbot_user
then it must have a value always
@alikon is it something that we should fix in JIssues to avoid such in the feature?
with this requirement :
MySQL 5.5.3 with InnoDB support (required to support the MySQL utf8mb4 charset)
a quick & easy fix should be to set sql_mode to non_strict mode (the default for 5.5)
$db->query("SET @@SESSION.sql_mode = '';");
Steps to reproduce the issue
Install sample sql data
Expected result
I can install the issue tracker
Actual result
I can't