Is there any way to enable both remote connections and connections via "localhost" to a mysql server. I tried adding both

bind-address =


bind-address = externalIP

but it just used the one later in the file

Is this something that is possible or will I have to just use one?


You can set it to:

bind-address =

Which will allow both. "If the address is, the server accepts TCP/IP connections on all server host IPv4 interfaces. "

More info: https://dev.mysql.com/doc/refman/5.6/en/server-options.html#option_mysqld_bind-address

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.