gitlab-org--gitlab-foss/changelogs/unreleased/fix-db-migrate-is-failed-on-mysql8.yml
sue445 9618141dc7 Fix. db:migrate is failed on MySQL 8
```
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system = true AND note LIKE '\_%\_'' at line 1: UPDATE notes SET note = trim(both '_' from note) WHERE system = true AND note LIKE '\_%\_'
```
2019-05-16 18:58:56 +09:00

5 lines
98 B
YAML

---
title: Fix. `db:migrate` is failed on MySQL 8
merge_request: 28351
author: sue445
type: fixed