Bug #68165 mysql_upgrade can be blocked dropping PERFORMANCE_SCHEMA if a user is in the db.
| Submitted: | 24 Jan 2013 13:28 | Modified: | 11 Feb 2013 9:40 |
|---|---|---|---|
| Reporter: | Simon Mudd | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
| Version: | 5.6.9-rc | OS: | Any |
| Assigned to: | Marc ALFF | CPU Architecture: | Any |
[24 Jan 2013 13:28]
Simon Mudd
[11 Feb 2013 9:39]
Marc ALFF
The mysql_upgrade process is expected to run "alone" against a server. This however, is not enforced, so that a client can connect to the server during the upgrade, and interfere. A known case where a client can make the upgrade wait for a lock is: - The client uses AUTOCOMMIT=OFF - The client performs a select against a system table (performance_schema.* or mysql.*) - The client never COMMIT or ROLLBACK transactions. The server behaves as expected in this case. The fix is to: - either prevent any connection to the server during an upgrade, - or at least do not create open ended transactions, that can be a bug in the application itself.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.