[MDEV-10112] mysql_secure_installation should use GRANT, REVOKE, etc for galera support Created: 2016-05-24 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Fix Version/s: | 10.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Anel Husakovic |
| Resolution: | Unresolved | Votes: | 8 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently the mysql_secure_installation script execute DELETE and UPDATE and so forth. This is not compatible with Galera as these tables are MyISAM. Please change them to use GRANT, REVOKE, etc... |
| Comments |
| Comment by Michaël de groot [ 2017-05-29 ] | ||||||||||||||||||||
|
Hi, As this issue is open for a year now and still a big problem to all first-time Galera users, increasing priority. As far as I know there is no work-around, except not uing mysql_secure_installation. Instead, you could use the corresponding GRANT statements. Thanks, | ||||||||||||||||||||
| Comment by George [ 2017-11-27 ] | ||||||||||||||||||||
|
Hi Michaël, Based on what you are saying and what is presented here: https://mariadb.com/kb/en/library/mysql_secure_installation/ Thanks! | ||||||||||||||||||||
| Comment by Daniel Black [ 2018-02-04 ] | ||||||||||||||||||||
|
mysql_secure_installation.cc from mysql has most of thse fixed. Otherwise/alternately we can do queries like: set_root_password
remove_remote_root
| ||||||||||||||||||||
| Comment by Daniel Black [ 2021-04-14 ] | ||||||||||||||||||||
|
Suggested SQL fragments https://github.com/vitessio/vitess/pull/7318/files |