Comments - mariadb drop user "wildcard"
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
thank you, but i was hoping for a wildcard, rather than having to first determine all the IP numbers.
in other words, i would like to be able to just remove ALL of them no matter what IP number they have, or for that matter, no matter what value is in the "Host" column.
this is for an automated script to approve users given a new IP number.
It's not a one-liner, but perhaps something like this?
excellent! thank you. i have never used "PREPARE" before so this makes a great introduction.
i should think that there would be a one-liner, but this is certainly the next best option.
In slightly shorter form:
thank you Daniel! life keeps getting better and better (while the solution shrinks). it still surprises me this requires a procedure, but this is EXCELLENT!