mysql -h mysqlhost.mycompany.com (only attempt to connect to localhost)
Posted by: Dave Rose
Date: August 24, 2018 09:51AM

Hi there,

I am hoping you can shed some light on this issue I am having. I'm trying to connect to a remote mysql instance, but the -h flag is seemingly ignored and I get an error : ERROR 1045 (28000): Access denied for user 'drose'10.53.83.122' (using password: NO)

which is my local IP. I had previously installed mysql via homebrew on macOS High Sierra, and then did a remove. There is no nothing in my cellar but I did install mysqlsh and still having the same issue. Anyone run into this and know what I need to alter? I'm assuming mysql client is binding to 127.0.0.1, but I can't locate any config file in /etc or /etc/mysql or anywhere in the cellar location.

Options: ReplyQuote


Subject
Written By
Posted
mysql -h mysqlhost.mycompany.com (only attempt to connect to localhost)
August 24, 2018 09:51AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.