Only 1 thread can connect

by Brian Lafferry   Last Updated February 11, 2019 10:01 AM - source

I have 2 CentOS machines networked using IPV4. One machine has a socket server, the other has a socket client that spins off 5 threads. When started, 4 of the 5 threads give the message "DB Connect Error Can't connect to MySQL server on '192.168.1.2' (113)"

The code must be correct, because 1 client can connect. How do I get the other 4 to connect?

Tags : mysql c threads


Related Questions




what does 2 core 4 threads mean in cpu?

Updated July 20, 2015 18:00 PM

Some questions on threads and processes

Updated September 16, 2015 10:00 AM

Thread and execution on CPU

Updated July 26, 2018 05:01 AM