Discussion:
mariadb 3.0.1 User handling
(zu alt für eine Antwort)
Thomas Quast
2020-06-25 19:27:00 UTC
Permalink
Hallo Holger,

nach anwahl von 'List MariaDB user' erhalte ich:


List all MariaDB/MySQL user
+----------+-----------+-------------+-------------+------------+
| user | host | select_priv | insert_priv | grant_priv |
+----------+-----------+-------------+-------------+------------+
| root | localhost | Y | Y | Y |
| root | e64 | Y | Y | Y |
| root | 127.0.0.1 | Y | Y | Y |
| root | ::1 | Y | Y | Y |
| eisgraph | localhost | N | N | N |
| eisgraph | e64 | N | N | N |
| eisgraph | ::1 | N | N | N |
| eisgraph | 127.0.0.1 | N | N | N |
+----------+-----------+-------------+-------------+------------+
Press ENTER to continue


Soweit gut.

Waehle ich nun 'Remove MariaDB user' erhalte ich:


Delete MariaDB/MySQL user

No user host select_priv insert_priv grant_priv

1. eisgraph localhost N N N
2. eisgraph e64 N N N
3. eisgraph 1 N
4. eisgraph 127.0.0.1 N N N


Select (1-4, ENTER=Return, 0=Exit)?


Waehle ich nun '3' aus und bestaetige die Eingabe mit Return, so wird obige
Ansicht neu aufgebaut, der Usereintrag unter '3' bleibt aber bestehen.

Und, so wie aussieht, gibt es ein Problem bei der Darstellung, wenn als Host
z.B. ::1 verwendet wird.

Gruss,
Thomas
--
Packageserver: https://www.oritopha.de/index.txt
Holger Bruenjes
2020-06-25 19:34:24 UTC
Permalink
Hallo Thomas
Post by Thomas Quast
List all MariaDB/MySQL user
+----------+-----------+-------------+-------------+------------+
| user | host | select_priv | insert_priv | grant_priv |
+----------+-----------+-------------+-------------+------------+
| root | localhost | Y | Y | Y |
| root | e64 | Y | Y | Y |
| root | 127.0.0.1 | Y | Y | Y |
| root | ::1 | Y | Y | Y |
| eisgraph | localhost | N | N | N |
| eisgraph | e64 | N | N | N |
| eisgraph | ::1 | N | N | N |
| eisgraph | 127.0.0.1 | N | N | N |
+----------+-----------+-------------+-------------+------------+
Press ENTER to continue
Soweit gut.
Delete MariaDB/MySQL user
No user host select_priv insert_priv grant_priv
1. eisgraph localhost N N N
2. eisgraph e64 N N N
3. eisgraph 1 N
4. eisgraph 127.0.0.1 N N N
Select (1-4, ENTER=Return, 0=Exit)?
Waehle ich nun '3' aus und bestaetige die Eingabe mit Return, so wird obige
Ansicht neu aufgebaut, der Usereintrag unter '3' bleibt aber bestehen.
Und, so wie aussieht, gibt es ein Problem bei der Darstellung, wenn als Host
z.B. ::1 verwendet wird.
der ':' wird da als Delimeter benutzt, IPv6 ist noch nicht in
Sicht gewesen.

Holger
Holger Bruenjes
2020-06-29 06:59:27 UTC
Permalink
Hallo Thomas
Post by Thomas Quast
Delete MariaDB/MySQL user
No user host select_priv insert_priv grant_priv
1. eisgraph localhost N N N
2. eisgraph e64 N N N
3. eisgraph 1 N
4. eisgraph 127.0.0.1 N N N
Select (1-4, ENTER=Return, 0=Exit)?
Waehle ich nun '3' aus und bestaetige die Eingabe mit Return, so wird obige
Ansicht neu aufgebaut, der Usereintrag unter '3' bleibt aber bestehen.
Und, so wie aussieht, gibt es ein Problem bei der Darstellung, wenn als Host
z.B. ::1 verwendet wird.
Ich habe jetzt den Trenner ausgetauscht ';'

auf Pack-Eis -> mysql-common

Holger
Thomas Quast
2020-06-29 07:26:23 UTC
Permalink
Hallo Holger,
Post by Holger Bruenjes
Ich habe jetzt den Trenner ausgetauscht ';'
auf Pack-Eis -> mysql-common
Ok, danke. Warte noch auf den Sync, denn noch kann ich es mit eisman
nicht finden.
--
Gruss,
Thomas

Packageserver: https://www.oritopha.de/index.txt
Thomas Quast
2020-06-29 07:44:20 UTC
Permalink
Hallo Holger,
Post by Holger Bruenjes
Ich habe jetzt den Trenner ausgetauscht ';'
auf Pack-Eis -> mysql-common
Ein Aufruf von "Remove MariaDB User" liefert mir jetzt:

Delete MariaDB/MySQL user

No user host select_priv insert_priv grant_priv

1. eisgraph localhost N eisgraph;lo N
2. eisgraph e64 N eisgraph;e6 N
3. eisgraph 127.0.0.1 N eisgraph;12 N


Select (1-3, ENTER=Return, 0=Exit)?
--
Gruss,
Thomas

Packageserver: https://www.oritopha.de/index.txt
Holger Bruenjes
2020-06-29 07:53:13 UTC
Permalink
Hallo Thomas
Post by Thomas Quast
Post by Holger Bruenjes
Ich habe jetzt den Trenner ausgetauscht ';'
auf Pack-Eis -> mysql-common
Delete MariaDB/MySQL user
No user host select_priv insert_priv grant_priv
1. eisgraph localhost N eisgraph;lo N
2. eisgraph e64 N eisgraph;e6 N
3. eisgraph 127.0.0.1 N eisgraph;12 N
Select (1-3, ENTER=Return, 0=Exit)?
Mift, noch ein typo

/var/install/bin/mysql-common-user-drop


Zeile 136

Korrigierte Version liegt auf Pack-Eis

Holger
Thomas Quast
2020-06-29 08:53:26 UTC
Permalink
Hallo Holger,
Post by Holger Bruenjes
Post by Thomas Quast
Delete MariaDB/MySQL user
No user host select_priv insert_priv grant_priv
1. eisgraph localhost N eisgraph;lo N
2. eisgraph e64 N eisgraph;e6 N
3. eisgraph 127.0.0.1 N eisgraph;12 N
Mift, noch ein typo
/var/install/bin/mysql-common-user-drop
Zeile 136
Korrigierte Version liegt auf Pack-Eis
Oh ja, jetzt sieht es gut aus.

Danke.
--
Gruss,
Thomas

Packageserver: https://www.oritopha.de/index.txt
Loading...