• Marek Kulik's avatar
    Fix mysql_setpermission hostname logic · 683f91a2
    Marek Kulik authored
    Changes:
    - Don't include port in connection parameters with 'localhost' hostname
    
    More info:
    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
    683f91a2
mysql_setpermission.sh 17.2 KB