Hi all
I am using Mysql as backend database for my applications
the Mysql ODBC Connector version 3.51 (32 bit) is installed on my system and I give the connection string as below
connection_string="DRIVER={MySQL ODBC 3.51 Driver};SERVER=" + m_server + ";port=3306;UID=" + m_uid + ";PWD=" + m_pwd + ";database=" + m_dbase + ";option=3"
the connection to mysql is made
(I have stored the above parameters in a text file for simplicity)
My problem is when I am upgrading to MySql ODBC connector 9.0 (64 bit) and I change the above connection string to
connection_string="DRIVER={MySQL ODBC 9.0 Driver};SERVER=" + m_server + ";port=3306;UID=" + m_uid + ";PWD=" + m_pwd + ";database=" + m_dbase + ";option=3"
It does not connect. I have created a system DSN using this driver and there it is showing connection successful
Any help or guidance on this is welcome
Also is there any other better database backend that can be used similar to mysql? if so what are the requirements for connection?
Thanks in advance
Ravi
I am using Mysql as backend database for my applications
the Mysql ODBC Connector version 3.51 (32 bit) is installed on my system and I give the connection string as below
connection_string="DRIVER={MySQL ODBC 3.51 Driver};SERVER=" + m_server + ";port=3306;UID=" + m_uid + ";PWD=" + m_pwd + ";database=" + m_dbase + ";option=3"
the connection to mysql is made
(I have stored the above parameters in a text file for simplicity)
My problem is when I am upgrading to MySql ODBC connector 9.0 (64 bit) and I change the above connection string to
connection_string="DRIVER={MySQL ODBC 9.0 Driver};SERVER=" + m_server + ";port=3306;UID=" + m_uid + ";PWD=" + m_pwd + ";database=" + m_dbase + ";option=3"
It does not connect. I have created a system DSN using this driver and there it is showing connection successful
Any help or guidance on this is welcome
Also is there any other better database backend that can be used similar to mysql? if so what are the requirements for connection?
Thanks in advance
Ravi