[mapguide-users] FW: MYSQL MyODBC Studio

Andrew DeMerchant andrew.demerchant at gemtec.ca
Thu Jul 27 09:24:30 EDT 2006


You're saving the datasource first, right? After you save it, you should 
be able to see the tables...

Andrew

Willem Schwarte wrote:

> 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
>

-- 
	*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-4GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the Mapguide-users mailing list