Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.4.5
-
Ubuntu 18.04.2 Server (amd64)
Description
When changing the "root" username to another value for more security, I'm loosing ability to see any users on my phpMyAdmin.
When trying to access to the "mysql.user" table, I get the error "#1449 - The user specified as a definer ('root'@'localhost') does not exist" that was NOT appearing on MariaDB 10.3.
This bug is appearing when changing the "root" username after a fresh install, or after an upgrade from a previous version.
Attachments
Issue Links
- is duplicated by
-
MDEV-21486 Implement option for mysql_install_db that allows root@localhost to be replaced
-
- Closed
-
-
MDEV-21487 Implement option for mysql_upgrade that allows root@localhost to be replaced
-
- Closed
-
- relates to
-
MDEV-21486 Implement option for mysql_install_db that allows root@localhost to be replaced
-
- Closed
-
-
MDEV-22478 Bad error ER_VIEW_INVALID returned upon attempt to insert into mysql.user
-
- Open
-
-
MDEV-22486 mysql_secure_installation cannot work without root user in the database
-
- Open
-
-
MDEV-23373 Document mariadb.sys user
-
- Closed
-
-
MDEV-21487 Implement option for mysql_upgrade that allows root@localhost to be replaced
-
- Closed
-
-
MDEV-22477 mysql_upgrade fails with sql_notes=OFF
-
- Open
-
-
MDEV-24568 MariaDB Documentation need to be updated with details for mariadb.sys user
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | Screenshot_28.png [ 48150 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Sergei Golubchik [ serg ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Sergei Golubchik [ serg ] | Jacob Moorman [ jacob.moorman ] |
Resolution | Won't Fix [ 2 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Component/s | Documentation [ 10903 ] |
Assignee | Jacob Moorman [ jacob.moorman ] | Geoff Montee [ geoffmontee ] |
Component/s | Documentation [ 10903 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | N/A [ 14700 ] |
Assignee | Geoff Montee [ geoffmontee ] | Oleksandr Byelkin [ sanja ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Assignee | Oleksandr Byelkin [ sanja ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Priority | Critical [ 2 ] | Blocker [ 1 ] |
Link | This issue blocks MENT-717 [ MENT-717 ] |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Link | This issue relates to MDEV-22374 [ MDEV-22374 ] |
Link | This issue is blocked by MDEV-22374 [ MDEV-22374 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link | This issue relates to MDEV-22374 [ MDEV-22374 ] |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Link | This issue relates to TODO-2339 [ TODO-2339 ] |
Link | This issue relates to MDEV-22477 [ MDEV-22477 ] |
Link | This issue relates to MDEV-22478 [ MDEV-22478 ] |
Link | This issue relates to MDEV-22486 [ MDEV-22486 ] |
Fix Version/s | 10.4.13 [ 24223 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link | This issue is blocked by MDEV-22374 [ MDEV-22374 ] |
Link | This issue relates to MENT-843 [ MENT-843 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 97196 ] | MariaDB v4 [ 156296 ] |
Zendesk Related Tickets | 147729 188069 |
That's right. In 10.4 mysql.user has been converted into a view, which has root@localhost for a definer. So, if you renamed root@localhost, the definer no longer exists.
I'll assign it to serg to provide thoughts on this.
Meanwhile, I suppose you can fix the view by re-creating it with your new account as a definer. Do SHOW CREATE VIEW mysql.user, copy the definition and run is as CREATE OR REPLACE ... DEFINER=... VIEW ....