mysql_upgrade crashes if root's password contains an apostrophe/single quotation mark

Description

Expected behaviour: mysql_upgrade completes successfully when using a password containing a single quotation mark (').

Actual behaviour mysql_upgrade crashes with the following:

Environment

Using Arch Linux x86_64

Assignee

Sergei Golubchik

Reporter

Joe MacMahon

Components

Fix versions

Affects versions

Priority

Minor
Configure