[mapguide-users] FW: MYSQL MyODBC Studio

Willem Schwarte willem at giskit.nl
Thu Jul 27 09:21:26 EDT 2006


How does studio connect with a ODBC connection? If I try to create a PHP
file with ODBC_CONNECT , I get an error:

 

Fatal error: Call to undefined function odbc_connect()

 

 

So if Studio is using this as well, It is understandable that no tables
are shown...

 

Willem

 

 

________________________________

Van: Willem Schwarte [mailto:willem at giskit.nl] 
Verzonden: donderdag 27 juli 2006 11:10
Aan: users at mapguide.osgeo.org
Onderwerp: [mapguide-users] FW: MYSQL MyODBC Studio

 

 

Hi,

 

In Studio I now get a list of Datasources available on the server.
Selecting the correct datasource and credentials, gives me a button
"Show Tables". But if clicked, nothing happens... 

 

I tried to set the option = 4 for tracing and Trace = 1 in the odbc.ini,
but no trace log is created.

 

Does anybody now what might be wrong?

 

Willem

 

 

 

________________________________

Van: Dave Wilson [mailto:dave.wilson at autodesk.com] 
Verzonden: woensdag 26 juli 2006 18:01
Aan: users at mapguide.osgeo.org
Onderwerp: RE: [mapguide-users] FW: 

 

When installing the ODBC driver from the rpm we had the same dependency
issue, but we installed it anyway using a --nodeps parameter.

 

I just tried this again. I put a single entry into the ODBC.ini file
(using the template from the website and corrected the path to the .so
file) and it worked fine. I didn't need to put anything in the
ODBCinst.ini.

 

In this case we used the 3.5 driver.

 

I suspect that the invalid XML is happening because it can't find the
ODBC.ini file.

 

Dave

 

________________________________

From: Willem Schwarte [mailto:willem at giskit.nl] 
Sent: Wednesday, July 26, 2006 6:13 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] FW: 

Hi,

 

 

When installing myODBC on Red HAt 3 ES we get the error below. Does
anybody know what this is and how to resolve this? 

 

We tried bypassing it, but then Studio gives an " invalid XML document
(0,0)"  error when looking for ODBC connections..

 

Willem

 

 

________________________________

Van: Bas van den Dikkenberg 
Verzonden: woensdag 26 juli 2006 14:06
Aan: Willem Schwarte
Onderwerp: 

 

error: Failed dependencies:

        libstdc++.so.6(GLIBCXX_3.4) is needed by
mysql-connector-odbc-3.51.12-1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060727/d972050c/attachment.html


More information about the Mapguide-users mailing list