Page 2 of 2
Re: LibMySQL Wrapper for MySQL Databases
Posted: Sun Apr 14, 2013 6:33 am
by kinglestat
and where are the really important functions which are truly useful when not using PB directly?
mysql_stmt_prepare()
mysql_stmt_bind_param()
mysql_stmt_execute()
Re: LibMySQL Wrapper for MySQL Databases
Posted: Mon Jul 01, 2013 7:34 pm
by Longshot
Is there anything specific that needs to be done for connecting to a remote database over the default port 3306? I am getting nothing back from the test example, and I am sure I can connect to the database, since it works with
HeidiSQL which uses libmysql.dll.
Re: LibMySQL Wrapper for MySQL Databases
Posted: Mon Jul 01, 2013 9:00 pm
by Longshot
Longshot wrote:Is there anything specific that needs to be done for connecting to a remote database over the default port 3306? I am getting nothing back from the test example, and I am sure I can connect to the database, since it works with
HeidiSQL which uses libmysql.dll.
In case anyone cares, it was outputting this error: "Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)"
The SQL database I am connecting to appears to use an old style of hashing the password. When I swapped to an older C connector DLL for libmysql it connects just fine. I believe the issue to be the password and nothing else.