ODBC connector issues/MySQL – Troubleshooting
When invoking the following error messages:
“Driver’s SQLAllocHandle on SQL_HANDLE_HENV failed”
OR
MENTOR 8.7.3.2689 v.23aug12 (8:11Sep14,87302689)(odbc.spx,-odbc.lfl) … 8.7.3.2689 (C) CfMC 1978 – 2013
06 Sep 2016 22:58
System versions: lib=20140911,comp=87302689,msg=2689,progver=2003,odbc=yes
File versions: qff=86002,var=31,quota=9503,db=11,fone=74,stations=873
SQLConnect(%S) failed with return -952752
0 = 01000: [unixODBC][Driver Manager]Can’t open lib ‘/usr/lib64/libmyodbc5.so’ : file not found
(ERROR #6989) Error opening database gmmysql
(Error: line 0, file /home/cfmc/odbc.spx after char 73 in “>use_rdbms rdbms_name=gmmysql odbc=(GMSurvoxUser,”5MmRx!WAwM”,Survox_GM)”
(ERROR #6655) is_odbc_connection failed: fatal error
Fatal error 2
mentor 20836 exit_function
(ERROR #5597) ! ! ! EMERGENCY QUIT: CHECK YOUR JOB CAREFULLY ! ! !
(Error: line 7, file /home/cfmc/odbc.spx after char 1 in “”
*** That is All ***
MENTOR 8.7.3.2689 v.23aug12 (8:11Sep14,87302689) running odbc.spx to -odbc.lfl at 06 SEP 2016 22:58.
total time: 0 seconds elapsed, 0.08 seconds CPU time
Make sure to install the 32 bit version of the iSQL or ODBC connector. The “.i686” package of the ODBC MySQL connector is needed in order for Mentor to read and write to an ODBC/MySQL database.
Below is the recommended MySQL connector as of version 8.7.3+.
mysql-connector-odbc-5.3.6-1.el6.i686.rpm