Re: accessing mysql from Cocoa <newbie>
Re: accessing mysql from Cocoa <newbie>
- Subject: Re: accessing mysql from Cocoa <newbie>
- From: Max J Cantor <email@hidden>
- Date: Sat, 2 Jun 2001 12:42:27 -0400 (EDT)
I already am workign on a project, named EstellaSQL. Its available on
versiontracker, and the crrent verison is 0.3. The next verison will add
much more funcionality. But, the way I did this is I used teh java bridge
to use teh JDBC drivers to access mysql from a cocoa-obj-c app.
-Max
check it out at
http://www.versiontracker.com/moreinfo.fcgi?id=10887
On Sat, 2 Jun 2001, Matthew White wrote:
>
Hi,
>
>
I'm a newbie to Cocoa programming, having come from a 4D background with a
>
leetle bit of C.
>
>
I have been through many of the tutorials and written some little apps
>
myself to get a hang of PB/IB/ObjC etc.
>
>
Now its time to do 'Something Useful (tm)'.
>
>
I'm working on building a SQL browser type application for MySQL.
>
>
It seems to me that they best way of doing this is to use the MySQL c api
>
library and wrap it in an ObjC Class.
>
>
I may be naive but reading the documentation I have on MySQL it seems to me
>
that all I have to do is #include <mySQL.h> and I should be able to access
>
the various MySQL api functions (obviously I have this and related files on
>
my system after a successfull installation of MySQL).
>
>
So I add the MySQL.h file to my project and build. It runs for a while and
>
then stops with Build failed (see build log for details).
>
>
The last line of the build log is
>
>
...failed StandaloneExecutable.LinkUsingFileList
>
>
I'm continuing to tinker, but has anyone else tried to use the MySQL c api
>
from Cocoa or have any general pointers (keep the list to less than 50 items
>
:-) as to where I am going wrong?
>
>
Maybe if I can get this going it could be turned into a framework for the
>
coding pleasure of all and sundry.
>
>
Cheers,
>
>
Matthew
>
--
>
Matthew White
>
Systems Development Munger
>
ipoints.co.uk ltd
>
http://www.ipoints.co.uk
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev