Skip to content

Yourls 1.8 MySQL 8 broken installer #2843

@jonathandhn

Description

@jonathandhn

Last upgrade can't update MySQL 8 DB scheme with one click updater on admin page.

To Reproduce

  1. Update code base
  2. Go to /admin
  3. Click on upgrade DB button

Expected behavior

Upgrade DB should works as expected as before ( MySQL 8.0.23 )

Actual behavior

Can't upgrade DB after merging code base to a new one.
SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-cou CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci' at line 1

Versions

1.8

Additional context

lsphp 7.4 \ Openlitespeed \ MySQL server 8.0.23 (delivered by MySQL Oracle repos for Ubuntu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions