buildbot / buildbot/buildbot

tests running with MySQL backend produces suspicious warnings

Open
#2,979 0 comments 0 reactions 0 assignees View on GitHub
db-mysql
Dominant language
Python
Stars
5.5k
Forks
1.7k
Avg merge
2d 7h
Merged PRs (30d)
6

Description

This ticket is a migrated Trac ticket [3451](http://trac.buildbot.net/ticket/3451)

People contributed to the original ticket: @rutsky
Ticket created on: `Feb 13 2016`
Ticket last modified on: `Feb 23 2016`

---

E.g. [[these one|https://travis-ci.org/buildbot/buildbot/jobs/108976653]]:

Warning: BLOB/TEXT column 'state_string' can't have a default value

In my env I also seen this warning:

Warning: Invalid utf8 character string: 'FFFF00'

This issue should be investigated.

---

_Comment from_: @rutsky
_Date_: `Feb 23 2016`

In https://github.com/buildbot/buildbot/pull/2015 @Riziero provides workaround for `can't have a default value` warnings, by setting `sql_mode='MYSQL40'` in MySQL configuration.
Is this a "true way" to solve this issue?

---
_Comment from_: @rutsky
_Date_: `Feb 23 2016`

Looks like `can't have a default value` is warning on Linux and fatal error on Windows: http://stackoverflow.com/a/4553664/391865

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.