<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.E-mailStijl17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.E-mailStijl18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-mailStijl19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-mailStijl20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-mailStijl21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-mailStijl22
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.E-mailStijl23
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>How does studio connect with a ODBC
connection? If I try to create a PHP file with ODBC_CONNECT , I get an error:<o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=3 color=black face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:black;font-weight:bold'><o:p>&nbsp;</o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=black face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:black;font-weight:bold'>Fatal
error</span></font></b><font color=black face=Arial><span style='font-family:
Arial;color:black'>: Call to undefined function odbc_connect()<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>So if Studio is using this as well, It is
understandable that no tables are shown&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Willem<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=NL style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=NL style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>Van:</span></font></b><font size=2
face=Tahoma><span lang=NL style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
ProductID="Willem Schwarte" w:st="on">Willem Schwarte</st1:PersonName>
[mailto:willem@giskit.nl] <br>
<b><span style='font-weight:bold'>Verzonden:</span></b> donderdag 27 juli 2006
11:10<br>
<b><span style='font-weight:bold'>Aan:</span></b> users@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Onderwerp:</span></b> [mapguide-users] FW:
MYSQL MyODBC Studio</span></font><span lang=NL><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In Studio I now get a list of Datasources
available on the server. Selecting the correct datasource and credentials,
gives me a button &#8220;Show Tables&#8221;. But if clicked, nothing
happens&#8230; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I tried to set the option = 4 for tracing
and Trace = <st1:metricconverter ProductID="1 in" w:st="on">1 in</st1:metricconverter>
the odbc.ini, but no trace log is created.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does anybody now what might be wrong?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Willem<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=NL style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Van:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Dave Wilson
[mailto:dave.wilson@autodesk.com] <br>
<b><span style='font-weight:bold'>Verzonden:</span></b> woensdag 26 juli 2006
18:01<br>
<b><span style='font-weight:bold'>Aan:</span></b> users@mapguide.osgeo.org<br>
</span></font><b><font size=2 face=Tahoma><span lang=NL style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Onderwerp:</span></font></b><font size=2
face=Tahoma><span lang=NL style='font-size:10.0pt;font-family:Tahoma'> RE:
[mapguide-users] FW: </span></font><span lang=NL><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:blue'>When installing the ODBC
driver from the rpm we had the same dependency issue, but we installed it
anyway using a --nodeps parameter.</span></font><span lang=NL><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:blue'>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.</span></font><span lang=NL><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:blue'>In this case we used the
3.5 driver.</span></font><span lang=NL><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:blue'>I suspect that the
invalid XML is happening because it can't find the ODBC.ini file.</span></font><span
lang=NL><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:blue'>Dave</span></font><span
lang=NL><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
ProductID="Willem Schwarte" w:st="on">Willem Schwarte</st1:PersonName> [mailto:willem@giskit.nl]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 26, 2006
6:13 AM<br>
<b><span style='font-weight:bold'>To:</span></b> users@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users] FW: </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>When installing myODBC on
Red HAt 3 ES we get the error below. Does anybody know what this is and how to
resolve this? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>We tried bypassing it,
but then Studio gives an &#8220; invalid XML document (0,0)&#8221;&nbsp; error
when looking for ODBC connections..<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Willem<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=NL style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=NL style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>Van:</span></font></b><font size=2
face=Tahoma><span lang=NL style='font-size:10.0pt;font-family:Tahoma'> Bas van
den Dikkenberg <br>
<b><span style='font-weight:bold'>Verzonden:</span></b> woensdag 26 juli 2006
14:06<br>
<b><span style='font-weight:bold'>Aan:</span></b> <st1:PersonName
ProductID="Willem Schwarte" w:st="on">Willem Schwarte</st1:PersonName><br>
<b><span style='font-weight:bold'>Onderwerp:</span></b> </span></font><span
lang=NL><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt;
font-family:Arial'>error: Failed dependencies:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
libstdc++.so.6(GLIBCXX_3.4) is needed by mysql-connector-odbc-3.51.12-1<o:p></o:p></span></font></p>

</div>

</body>

</html>