Trouble Connecting
Posted: Sun 16 Jun 2013 01:50
Hello,
I am new using the unidac controls and I am having trouble connecting to my mysql database. I am using the following to connect:
I am using Builder 2010
TUniConnection* HdbcDB;
HdbcDB = new TUniConnection(this) ;// *UniConnection
HdbcDB->LoginPrompt = false ;
HdbcDB->ProviderName = "MySql" ;
HdbcDB->Server = "127.0.0.1" ;
HdbcDB->Username = "root" ;
HdbcDB->Password = "pass" ;
HdbcDB->Database = "QuestDB" ;
HdbcDB->Port = 3306 ;
HdbcDB->Connect() ;
I am getting and "Bad Handshake" error.
I have tried to reinstall the controls as per the information on the forum, however this does correct the problem.
Could someone help me in respect to this problem.
Thanks
Mike
I am new using the unidac controls and I am having trouble connecting to my mysql database. I am using the following to connect:
I am using Builder 2010
TUniConnection* HdbcDB;
HdbcDB = new TUniConnection(this) ;// *UniConnection
HdbcDB->LoginPrompt = false ;
HdbcDB->ProviderName = "MySql" ;
HdbcDB->Server = "127.0.0.1" ;
HdbcDB->Username = "root" ;
HdbcDB->Password = "pass" ;
HdbcDB->Database = "QuestDB" ;
HdbcDB->Port = 3306 ;
HdbcDB->Connect() ;
I am getting and "Bad Handshake" error.
I have tried to reinstall the controls as per the information on the forum, however this does correct the problem.
Could someone help me in respect to this problem.
Thanks
Mike