MySQL Forums
Forum List  »  Connector/C++

Re: connector not working on different machines
Posted by: Stev Fro
Date: September 02, 2011 03:36PM

To follow up:

The problem was in the libmysql.dll file. The libmysql.dll file from the 5.5.15 version of the mysql client library threw the following exception:

# ERR: SQLException in .\connect.cpp<main> on line 214
# ERR: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0 <MySQL error code: 2013, SQLState: HY000 >
not ok 1 - examples/connect.php

When the libmysql.dll file from the 5.1.58 version of the mysql client library was used it fixed the problem and the connector was able to successfully establish a connection with the mysql server machine.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: connector not working on different machines
1568
September 02, 2011 03:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.