Question

I would be grateful if someone could provide some help on how to connect to a local MySQL server (computer) from my laptop which is on the same local network.

  1. I downloaded/installed MySQL on Windows (Installer & Tools) on the laptop and computer and I think they're both up and running.

  2. When I try to 'create a connection' on my laptop within MySQL Workbench, I just can't seem to connect and I've tried various usernames and passwords. Do I need to configure the settings on the desktop server?

Thanks in advance

Was it helpful?

Solution

The key word is "think". You need to know that the server is up.

Open a command shell and type "netstat -a". You'll see every listener on every port.

If you see that something's LISTENING on port 3306, then it's most likely MySQL.

If port 3306 doesn't appear, you have your answer.

You need to know that the listener is running on the database machine you'd like to connect to.

Once you ascertain that the listener is up and running, you need to know that your client has been GRANTed permission to connect via username and password. Only the DA for the database can set that up and let you know.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top