We wrote a multi-threaded C++ program updating tables in a MySQL server. MySQL server is in a HP-UX 11.23 host. The problem is that after some time the program loses connection. We examined logs and realized that MySQL gives: "failed: Lost connection to MySQL server at 'reading authorization packet' " error. Our program uses MySQL++ Client Library to connect to and there has been no problem if the client and server are both Linux.