LibMySQL Wrapper for MySQL Databases

Windows specific forum
kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Re: LibMySQL Wrapper for MySQL Databases

Post 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()
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Longshot
User
User
Posts: 12
Joined: Sat Sep 08, 2012 2:32 pm

Re: LibMySQL Wrapper for MySQL Databases

Post 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.
Longshot
User
User
Posts: 12
Joined: Sat Sep 08, 2012 2:32 pm

Re: LibMySQL Wrapper for MySQL Databases

Post 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.
Post Reply