I am new on PRTG. I want to monitor a database but my sensor returns that issue : Could not connect to database: Can't connect to MySQL server on 'x.x.x.x' (10061) Socket error on connect. WSAGetLastError return 10060($274C)

Firewalls are disabled.

Any ideas?

Thanks


Article Comments

Is the user allowed to connect to the database from the PRTG host? Did you flush the privileges after creating the user?


May, 2015 - Permalink

I'm having this same issue. Normally when you connect MySQL you are required a port too which I found odd that it was not a field in the PRTG connection.


May, 2015 - Permalink

The port, username and password have to be configured within the device settings, under Credentials For Database Management Systems - is that set up properly? :)


May, 2015 - Permalink

I will check that and let you know if it is good or not.

Thanks.


May, 2015 - Permalink

I don't have any Credentials For Database Management Systems option in the device settings. I just have Credentials for Windows Systems, Credentials for Linux/Solaris/Mac OS (SSH/WBEM) Systems, Credentials for VMware/XenServer and Credentials for SNMP Devices.

Is that normal?


May, 2015 - Permalink

In older PRTG versions, the database credentials were configured within the sensor settings. But please check your permissions first as mentioned in my other post :)


May, 2015 - Permalink

PRTG host can't connect to MySQL server, but user is allowed to connect database (i tried to connect from other hosts).

Connection between PRTG server and our network is done through a router (which is a firewall too) which is managed by other people. I asked them to look if port 3306 is open or not.

When I'll have an answer, I'll give you news.


May, 2015 - Permalink

Problem solved. Thanks.


May, 2015 - Permalink

Thanks for the update! :)


May, 2015 - Permalink