Hi,

Unicon uses the ODBC manager which uses the ODBC driver which access MySQL via 
mysql client library.

Yeah, making unicon natively calling the client library would make things 
faster and probably simpler.

At the time we designed the odbc interface though the idea was to use generic 
odbc in order to just communicate to odbc manager and then simply change the 
drivers in order to use different rdbms.

 

Fed



 



 



From: [email protected]
To: [email protected]; [email protected]
Date: Sat, 25 Jul 2009 06:39:00 -0700
CC: [email protected]
Subject: Re: [Unicon-group] Unicon interface to MySQL database




Thanks for the info, Wade.
 
1) The GoDaddy situation is difficult.
a) I don't have root access.
b) There are no software development tools, e.g. make, gcc.
c) I have survived by copying my old versions of icont, iconx 
    from Red Hat Linux 7.3, and using PHP scripts to compile
    my mKE programs.
d) I doubt if GoDaddy would agree to installing ODBC.
 
2) I think the best possibility might be to use PHP to connect,
    and figure out how to pass PHP info. to Unicon.
a) The book 
    "Beginning PHP and MySQL 5, From Novice to
    Professional, Second Edition", W. Jason Gilmore,
    Apress, 2006. 
    conjectures that PHP 5 would use their
    own PDO interface to the "future" MySQL 5.
b) Is the use of PDO consistent with your statement
    re "direct linking" to MySQL library?
c) I imagine that converting Unicon from ODBC to PDO
    would be fairly easy.
 
Dick McCullough
http://mkrmke.org
 
----- Original Message ----- 
From: "Wade Bowmer" <[email protected]>
To: "Unicon group" <[email protected]>
Sent: Saturday, July 25, 2009 5:36 AM
Subject: Re: [Unicon-group] Unicon interface to MySQL database

> On Sat, 25 Jul 2009 10:21:10 +1000, Richard H. McCullough  
> <[email protected]> wrote:
> 
>> I did a quick check on GoDaddy Linux host.
>> There is no /usr/lib/*odbc* file.
>> I think it's safe to say that GoDaddy's ODBC
>> interface [if it exists] is different from your
>> Linux system.
> 
> There are two unix ODBC libraries, though I would expect to find either of  
> them in /usr/lib. If you don't have root access, you will need to ask if  
> they can install either iodbc or unixodbc, along with their dev packages.  
> Unicon will compile against either.
> 
>> I will try to discover how PHP connects on
>> GoDaddy system.
> 
> PHP connects by directly linking to the MySQL client library. This is not  
> the way Unicon does it.
> 
> Wade.

_________________________________________________________________
Windows Liveā„¢ HotmailĀ®: Celebrate the moment with your favorite sports pics. 
Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to