[MDEV-26474] Fix mysql_setpermission hostname logic Created: 2021-08-25  Updated: 2023-07-03  Resolved: 2021-08-25

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.2
Fix Version/s: 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5, 10.7.0

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-31611 mariadb-setpermission: Can't use stri... Closed
relates to MDEV-23015 mariadb-setpermission seems incompati... Closed

 Description   

The hostname, if not specified or specified as '' or 'localhost', will default
to a MySQL server running on the local machine using the default for the UNIX socket.
To connect to a MySQL server on the local machine via TCP, you must specify the
loopback IP address (127.0.0.1) as the host.

Reported issue: https://bugzilla.redhat.com/show_bug.cgi?id=1976224



 Comments   
Comment by Daniel Black [ 2021-08-25 ]

Thanks Marek in https://github.com/MariaDB/server/pull/1896

Generated at Thu Feb 08 09:45:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.