4

I have installed MySQL on a Windows Server 2012 R2 using Microsoft's Web Platform installer.

What I'm having a problem with is how to remotely connect to it? I'm able to launch the MySQL command prompt on the server and can see that it is running on port 3306, uses root as the username, the correct password and I can see the hostname (the name of the server).

I have enabled an inbound rule in Windows Firewall for port 3306 but is there anything else I need to do? I'm trying to connect using MySQL Workbench on my PC but not getting very far.

Thanks, Steven.

smclintock
  • 91
  • 3
  • 14

1 Answers1

-1

Most likely you need to correct your my.ini and either comment the bind-address variable, which is set to 127.0.0.1 by default, or set it to your server's IP address value.

For locations, please refer to: MySQL my.ini location

Community
  • 1
  • 1
favoretti
  • 29,299
  • 4
  • 48
  • 61
  • I can't seem to find the my.cnf file on the server? I've checked in C:\Windows\my.cnf and C:\Program Files\MySQL\MySQL Server 5.5\my.cnf – smclintock Oct 12 '14 at 10:49
  • My bad, on windows it's my.ini and it's not there by default. Edited my answer to refer you to the right locations. – favoretti Oct 12 '14 at 18:43