MySQL Forums
Forum List  »  Newbie

mysql runs on computername instead of IP
Posted by: pet pres
Date: June 29, 2013 04:03AM

Hello,

I have 2 mysql servers each on different IP, the same port 3306. They both look ok on scanners however they want to connect to computername (windows 2008 server) instead of to hostname defined in my.ini (in my.ini I have bind-address definition for each server different).

When I turn mysql off and try to connect to it via php script it says it cannot connect to host (the one defined in my.ini).
Also, even if there is mysql.sock file definition in my.ini I do not see the file after mysql is started.

Would anybody know how to force mysql to connect to my.ini predefined host?

Thank you.



Edited 2 time(s). Last edit at 06/29/2013 09:30AM by pet pres.

Options: ReplyQuote


Subject
Written By
Posted
mysql runs on computername instead of IP
June 29, 2013 04:03AM


Sorry, you can't reply to this topic. It has been closed.

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.