)]}'
{"lib/databases/mysql":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"413ef1fc93b366592ba8cd61acf41a02e8725acb","unresolved":false,"context_lines":[{"line_number":105,"context_line":"    # In mariadb e.g. on Ubuntu socket plugin is used for authentication"},{"line_number":106,"context_line":"    # as root so it works only as sudo. To restore old \"mysql like\" behaviour,"},{"line_number":107,"context_line":"    # we need to change auth plugin for root user"},{"line_number":108,"context_line":"    if is_ubuntu \u0026\u0026 [ \"$MYSQL_SERVICE_NAME\" \u003d\u003d \"mariadb\" ]; then"},{"line_number":109,"context_line":"        sudo mysql $cmd_args -e \"UPDATE mysql.user SET plugin\u003d\u0027\u0027 WHERE user\u003d\u0027$DATABASE_USER\u0027 AND host\u003d\u0027localhost\u0027;\""},{"line_number":110,"context_line":"        sudo mysql $cmd_args -e \"FLUSH PRIVILEGES;\""},{"line_number":111,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3fa7e38b_62c4f30e","line":108,"updated":"2019-12-09 08:30:14.000000000","message":"ha, that\u0027s what I had proposed in my patch https://review.opendev.org/#/c/681201/6..7/lib/databases/mysql but than I removed \"is_ubuntu\" from this condition :/","commit_id":"ede8b1269cb03178c31f700200309dd76b00dd5a"}]}
