mysql-cocoa-users Mailing List for MySQL Objective C API for Cocoa (Page 14)
Brought to you by:
sergecohen
You can subscribe to this list here.
2002 |
Jan
(2) |
Feb
|
Mar
(14) |
Apr
(5) |
May
(23) |
Jun
(8) |
Jul
(13) |
Aug
(5) |
Sep
|
Oct
(1) |
Nov
(11) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(9) |
Feb
(6) |
Mar
(13) |
Apr
(2) |
May
(3) |
Jun
|
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(1) |
Nov
(15) |
Dec
(2) |
2004 |
Jan
(3) |
Feb
(3) |
Mar
(8) |
Apr
(1) |
May
(2) |
Jun
(3) |
Jul
(15) |
Aug
(36) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
(2) |
2005 |
Jan
(1) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
|
Jun
(7) |
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2006 |
Jan
(9) |
Feb
(5) |
Mar
(2) |
Apr
(1) |
May
(9) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
2007 |
Jan
(23) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bertrand M. <bma...@wa...> - 2002-05-02 10:39:48
|
le 2/05/02 11:10, Serge Cohen =E0 co...@em... a =E9crit=A0: > Hi; > I just got your mail now. >=20 > I'll try to do it fast, what do you want as a result (is MySQLResult > Ok?), I have to check exactly how the C API looks like to know exactly > what I can do for you. Yes, a MySQLResult is fine. I have checked LucidSQL and they return a NSArray which is not really appropriate I think. One would expect a wrapper method to return the same kind of object as the original API does, otherwis= e it can become confusing. The mysql_list_dbs method return a MYSQL_RES originally. This is more compatible with the Model-View-Controller paradigm= . > For the autorelease, the policy of the framework is the same as the one > descibe in the Objective-C book > (file:///Developer/Documentation/Cocoa/ObjectiveC/6ObjectOwnership/index.= html, > or the PDF version). I will check that. > Thanks for the feed back. No problem. I thank you for maintaining the wrapper. Bertrand Mansion Mamasam |
From: Serge C. <co...@em...> - 2002-05-02 09:17:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi John > Hi Serge, > > In the spirit of reporting good news to keep the spirits up I thought > I'd just drop you this quick note to say thanks for the effort you have > put into the framework so far and to let you know that my application > is now going well. > > I have many little parts to my application which are all being > developed simultaneosly, and this week was finally the time to get the > database integration code started. > > Well I have got some basic database access quite simply integrated with > my application in about two days (once I remembered to add the > framework to my project :-) But this was much less hassle than I > imagined. > It's nice to hear that my work is of some use to some one, thanks. > I've only been caught by two little features (not of your code really > mainly mySQL) > > i) I tried reading from two different result sets at the same time > generated from the same SMySQLConnection object, and got caught out by > the fact that my results were interwoven (ie. you have probably used > msql_use_result() instead of msql_store_result(). > The solution was simple, just read the first set into an array and then > work from that > Strange, indeed to implement the dataSeek method for the SMySQLResult class I had to use mysql_store_result... In the mean time I've never tried myself to have two SMySQLResult myself (indeed I should have in MySQL Display, having two queries window at the same time : no problem as far as I remember). I'll check more extensivly. (great if you can send me a code sneepet showing the problem). > ii) How do I release a results set once I have finished with it? Just > in case I am working with very large result sets (which I am not yet, > though I will be working with BLOBs later). I don't really want to wait > for the event loop to clear them out when the retain count for the > whole SMySQLResult object expires. The main reason for this is that my > core classes for my application will eventually be used in both Cocoa > desktop GUI applications and in command line utilities. > Normaly a release (or autorelease) to the SMySQLResult object should dealloc the memeory of the MYSQL_RES structure pointer... > Anyway many thanks again, and I'll keep you up to speed on progress. > > > JOhn > > Serge. - ---------------------------------------------------- Serge Cohen GPG Key ID: 1024D/69B1D346 - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE80QSSMygj1Wmx00YRAhWVAJ9p43FkT5+oO9wP7kCk6bRfaYCamgCfWm3Z aCewhjv/xJVMdbi80L9A0Tw= =diZ9 -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-05-02 09:09:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D I just got your mail now.=0D I'll try to do it fast, what do you want as a result (is MySQLResult =0D Ok?), I have to check exactly how the C API looks like to know exactly =0D= what I can do for you.=0D =0D For the autorelease, the policy of the framework is the same as the one =0D= descibe in the Objective-C book =0D = (file:///Developer/Documentation/Cocoa/ObjectiveC/6ObjectOwnership/index.h= tml,=0D or the PDF version).=0D =0D Thanks for the feed back.=0D =0D Serge.=0D =0D Le mercredi 1 mai 2002, =C3=A0 05:47 , Bertrand Mansion a =C3=A9crit :=0D= =0D > Serge,=0D >=0D > Could you tell me what lines of code I should add to SMySQL.m if I = want =0D > to=0D > have the mysql_list_dbs functionality ? I guess this methods should =0D= > return a=0D > SMySQLResult object but I have tried a few things I could not make it =0D= > work.=0D > If you give me an example, I will probably be able to add =0D > mysql_list_tables=0D > too. I know I can get the table list with a query like: 'SHOW TABLES', = =0D > but I=0D > prefer to have a clear method for it.=0D >=0D > I hope you will get my mail.=0D > I really appreciate the work you've done for this wrapper, it is = really =0D > fast=0D > and works quite well. I still have some difficulties to understand the=0D= > autorelease logic but it will surely come soon.=0D >=0D > Merci,=0D >=0D > Bertrand Mansion=0D > Mamasam=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE80QKnMygj1Wmx00YRAiSsAJ0U1wQoxxgOgDPlOP3vMAH6FUeWPACfczu4 LfbeF6Mm9oOAZzMLkSUKGbs=3D =3DVPFd -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-04-30 11:49:04
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'll check this one soon. Serge. PS: Onec again, thinks for the feed back. > > PS. Serge, I'm not sure if I have Autodoc installed on my system (it > isn't in /usr/local/bin) and this may be why the build stopped early > and didn't copy the files over? > > > > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > - ---------------------------------------------------- Serge Cohen GPG Key ID: 1024D/69B1D346 - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8zoUqMygj1Wmx00YRArMoAKCXetPt66Z1LfwzpurMLreemugAZgCfXhLx SPEVH4TU22Y+EtMyU13Xcvg= =GsbI -----END PGP SIGNATURE----- |
From: John G. <jo...@jl...> - 2002-04-30 10:27:17
|
Hi Serge, and mailing list, I'm now ready for public humiliation - ie. I've worked it out and it was=20= a STUPID error on my part. The link error should have raised the alarm bells, but anyway, I FORGOT=20= to add the SMySQL framework to my project!!! Since my source file compiled, I guessed that it had found the framework=20= and therfore knew exactly what to do, but I still had to add it to the=20= project using Project->Add Framework. So now I can get back to finding errors in my code logic. JOhn PS. Serge, I'm not sure if I have Autodoc installed on my system (it=20 isn't in /usr/local/bin) and this may be why the build stopped early and=20= didn't copy the files over? On Monday, April 29, 2002, at 09:48 PM, John Guy wrote: > Hi Serge, > > Thanks for the speedy reply (I was praying you'd be around to have a=20= > look. > > I've added some comments below to your points: > > and I've attached my files, it is really simple, just ONE button, > > I'll also send you by separate email the output from the build of the=20= > framework just in case that means anything to you. > > cheers > > JOhn > > On Monday, April 29, 2002, at 08:21 PM, Serge Cohen wrote: > >> From: Serge Cohen <co...@em...> >> Date: Mon Apr 29, 2002 08:21:58 PM Etc/GMT >> To: John Guy <jo...@jl...> >> Cc: mys...@li... >> Subject: Re: I'm struggling getting SMySQL working >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi Guy; >> >> A couple of things : >> 1. >> If I understand you well, you first use the command proposed in=20 >> TO_INSTALL (which is : pbxbuild -target SMySQL -buildstyle = Development=20 >> install DSTROOT=3D/), and then you move the framework "by hand". >> > > Yes this is what I did. > > I moved the framework by hand since for some reason the version of the=20= > framework in /Library/Frameworks was the really old one from my first=20= > install a few weeks ago. > >> Indeed the commmand line (pbxbuild...), does already install the=20 >> framework in /Library/Frameworks/, so you might better not install on=20= >> top of that in ~/Library/Frameworks/. >> > > Interesting as I DO NOT have a version in ~/Library/Frameworks I only=20= > have a version that I put in /Library/Frameworks > >> Still This should not be a trouble (having twice the same framework = in=20 >> this two place is not a problem, I used to have it this way for some=20= >> before I realise it by chance). As far as I remember the dynamic=20 >> linker will search ~/Library/Frameworks first. >> >> >> 2. >> As far as I can see from your snippet, you ahve a linker warning=20 >> (unable to prebind), still you're applicaition should run (prebinding=20= >> is only for faster dynamic linking). If the application can not run,=20= >> it must be another problem. >> > > Yep guessed it was a linker problem, however project builder=20 > complains it is a Build failed since there is an Undefined symbol=20 > (.objc_class_name_SMySQLConnection) > > >> >> Can you send me the source of your app (don't forget to remove the=20 >> important data for the connection if you have any -password,=20 >> login...-), I'll try to compile here. >> >> > > Code attached at the end > > >> Read you soon. >> >> Serge. >> >> >> Le lundi 29 avril 2002, =E0 11:00 , John Guy a =E9crit : >> >>> Hi there Serge, >>> >>> I've been a bit quiet since we last spoke as I have been very busy=20= >>> dealing with some other issues, however I am now back to trying to=20= >>> get my database working with Cocoa again, for real this time! >>> >>> I downloaded and built the latest version of the framework=20 >>> (SMySQL_0.5.3.tgz) I built it from the command line as detailed in=20= >>> the TO_INSTALL file. >>> >>> I have then copied the SMySQL.framework from the build folder to the=20= >>> /Library/Frameworks folder. >>> >>> I have a very simple Cocoa app (a single button that when pushed=20 >>> attempts to connect to the database on localhost). However when I=20 >>> build the project I get an error in the link stage : >>> >>> BuildPhase DBSetupTest.app >>> Completed phase <CopyHeaders> for DBSetupTest.app >>> BuildPhase DBSetupTest.app >>> Completed phase <CopyResources> for DBSetupTest.app >>> CompileC /Users/sty/Cocoa=20 >>> = WORK/DBSetupTest/build/intermediates/DBSetupTest.build/Objects/ppc/MyDocum= ent. >>> o >>> BuildPhase DBSetupTest.app >>> Completed phase <DeriveAndCompileSources> for DBSetupTest.app >>> MasterObjectFile.Combine /Users/sty/Cocoa=20 >>> WORK/DBSetupTest/build/intermediates/DBSetupTest.build/master.o >>> StandaloneExecutable /Users/sty/Cocoa=20 >>> WORK/DBSetupTest/build/DBSetupTest.app/Contents/MacOS/DBSetupTest >>> /usr/bin/ld: warning prebinding disabled because of undefined = symbols >>> /usr/bin/ld: Undefined symbols: >>> .objc_class_name_SMySQLConnection >>> >>> >>> So this is confusing, I ensured that I have no other version of the=20= >>> framework installed on my system. >>> >>> Do you have any suggestions? >>> >>> I'll carry on digging around but any help would be apprciated. >>> >>> cheers >>> >>> JOhn > > > |
From: John G. <jo...@jl...> - 2002-04-29 20:50:12
|
Hi Serge, Thanks for the speedy reply (I was praying you'd be around to have a=20 look. I've added some comments below to your points: and I've attached my files, it is really simple, just ONE button, I'll also send you by separate email the output from the build of the=20 framework just in case that means anything to you. cheers JOhn On Monday, April 29, 2002, at 08:21 PM, Serge Cohen wrote: > From: Serge Cohen <co...@em...> > Date: Mon Apr 29, 2002 08:21:58 PM Etc/GMT > To: John Guy <jo...@jl...> > Cc: mys...@li... > Subject: Re: I'm struggling getting SMySQL working > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Guy; > > A couple of things : > 1. > If I understand you well, you first use the command proposed in=20 > TO_INSTALL (which is : pbxbuild -target SMySQL -buildstyle Development=20= > install DSTROOT=3D/), and then you move the framework "by hand". > Yes this is what I did. I moved the framework by hand since for some reason the version of the=20= framework in /Library/Frameworks was the really old one from my first=20 install a few weeks ago. > Indeed the commmand line (pbxbuild...), does already install the=20 > framework in /Library/Frameworks/, so you might better not install on=20= > top of that in ~/Library/Frameworks/. > Interesting as I DO NOT have a version in ~/Library/Frameworks I only=20 have a version that I put in /Library/Frameworks > Still This should not be a trouble (having twice the same framework in=20= > this two place is not a problem, I used to have it this way for some=20= > before I realise it by chance). As far as I remember the dynamic = linker=20 > will search ~/Library/Frameworks first. > > > 2. > As far as I can see from your snippet, you ahve a linker warning=20 > (unable to prebind), still you're applicaition should run (prebinding=20= > is only for faster dynamic linking). If the application can not run, = it=20 > must be another problem. > Yep guessed it was a linker problem, however project builder=20 complains it is a Build failed since there is an Undefined symbol=20 (.objc_class_name_SMySQLConnection) > > Can you send me the source of your app (don't forget to remove the=20 > important data for the connection if you have any -password,=20 > login...-), I'll try to compile here. > > Code attached at the end > Read you soon. > > Serge. > > > Le lundi 29 avril 2002, =E0 11:00 , John Guy a =E9crit : > >> Hi there Serge, >> >> I've been a bit quiet since we last spoke as I have been very busy=20 >> dealing with some other issues, however I am now back to trying to = get=20 >> my database working with Cocoa again, for real this time! >> >> I downloaded and built the latest version of the framework=20 >> (SMySQL_0.5.3.tgz) I built it from the command line as detailed in = the=20 >> TO_INSTALL file. >> >> I have then copied the SMySQL.framework from the build folder to the=20= >> /Library/Frameworks folder. >> >> I have a very simple Cocoa app (a single button that when pushed=20 >> attempts to connect to the database on localhost). However when I=20 >> build the project I get an error in the link stage : >> >> BuildPhase DBSetupTest.app >> Completed phase <CopyHeaders> for DBSetupTest.app >> BuildPhase DBSetupTest.app >> Completed phase <CopyResources> for DBSetupTest.app >> CompileC /Users/sty/Cocoa=20 >> = WORK/DBSetupTest/build/intermediates/DBSetupTest.build/Objects/ppc/MyDocum= ent. >> o >> BuildPhase DBSetupTest.app >> Completed phase <DeriveAndCompileSources> for DBSetupTest.app >> MasterObjectFile.Combine /Users/sty/Cocoa=20 >> WORK/DBSetupTest/build/intermediates/DBSetupTest.build/master.o >> StandaloneExecutable /Users/sty/Cocoa=20 >> WORK/DBSetupTest/build/DBSetupTest.app/Contents/MacOS/DBSetupTest >> /usr/bin/ld: warning prebinding disabled because of undefined symbols >> /usr/bin/ld: Undefined symbols: >> .objc_class_name_SMySQLConnection >> >> >> So this is confusing, I ensured that I have no other version of the=20= >> framework installed on my system. >> >> Do you have any suggestions? >> >> I'll carry on digging around but any help would be apprciated. >> >> cheers >> >> JOhn |
From: Serge C. <co...@em...> - 2002-04-29 20:20:10
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Guy;=0D =0D A couple of things :=0D 1.=0D If I understand you well, you first use the command proposed in =0D TO_INSTALL (which is : pbxbuild -target SMySQL -buildstyle Development =0D= install DSTROOT=3D/), and then you move the framework "by hand".=0D =0D Indeed the commmand line (pbxbuild...), does already install the =0D framework in /Library/Frameworks/, so you might better not install on =0D= top of that in ~/Library/Frameworks/.=0D =0D Still This should not be a trouble (having twice the same framework in =0D= this two place is not a problem, I used to have it this way for some =0D before I realise it by chance). As far as I remember the dynamic linker =0D= will search ~/Library/Frameworks first.=0D =0D =0D 2.=0D As far as I can see from your snippet, you ahve a linker warning (unable = =0D to prebind), still you're applicaition should run (prebinding is only =0D= for faster dynamic linking). If the application can not run, it must be =0D= another problem.=0D =0D =0D Can you send me the source of your app (don't forget to remove the =0D important data for the connection if you have any -password, login...-), = =0D I'll try to compile here.=0D =0D =0D Read you soon.=0D =0D Serge.=0D =0D =0D Le lundi 29 avril 2002, =C3=A0 11:00 , John Guy a =C3=A9crit :=0D =0D > Hi there Serge,=0D >=0D > I've been a bit quiet since we last spoke as I have been very busy =0D > dealing with some other issues, however I am now back to trying to get = =0D > my database working with Cocoa again, for real this time!=0D >=0D > I downloaded and built the latest version of the framework =0D > (SMySQL_0.5.3.tgz) I built it from the command line as detailed in the = =0D > TO_INSTALL file.=0D >=0D > I have then copied the SMySQL.framework from the build folder to the =0D= > /Library/Frameworks folder.=0D >=0D > I have a very simple Cocoa app (a single button that when pushed =0D > attempts to connect to the database on localhost). However when I = build =0D > the project I get an error in the link stage :=0D >=0D > BuildPhase DBSetupTest.app=0D > Completed phase <CopyHeaders> for DBSetupTest.app=0D > BuildPhase DBSetupTest.app=0D > Completed phase <CopyResources> for DBSetupTest.app=0D > CompileC /Users/sty/Cocoa =0D > = WORK/DBSetupTest/build/intermediates/DBSetupTest.build/Objects/ppc/MyDocum= ent.=0D > o=0D > BuildPhase DBSetupTest.app=0D > Completed phase <DeriveAndCompileSources> for DBSetupTest.app=0D > MasterObjectFile.Combine /Users/sty/Cocoa =0D > WORK/DBSetupTest/build/intermediates/DBSetupTest.build/master.o=0D > StandaloneExecutable /Users/sty/Cocoa =0D > WORK/DBSetupTest/build/DBSetupTest.app/Contents/MacOS/DBSetupTest=0D > /usr/bin/ld: warning prebinding disabled because of undefined symbols=0D= > /usr/bin/ld: Undefined symbols:=0D > .objc_class_name_SMySQLConnection=0D >=0D >=0D > So this is confusing, I ensured that I have no other version of the =0D= > framework installed on my system.=0D >=0D > Do you have any suggestions?=0D >=0D > I'll carry on digging around but any help would be apprciated.=0D >=0D > cheers=0D >=0D > JOhn=0D >=0D - - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8zattMygj1Wmx00YRAo2eAJwP2Y7tB4U5ywD+gV1/Oh1CCnlvLQCgl40z TXjeYEA1ElbUCxK7Rf6Y8Io=3D =3D2+JA -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-04-12 09:53:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jurjian,=0D =0D First, can we do the discution to the users mailing list (I think =0D installation problems belongs to this list, and maybee some other =0D persons will have the same problem later... so can be interesting to =0D have this thread in archives.)=0D =0D So first, can you tell me exactly:=0D 1. wich package you're using (release name and number)=0D 2. for compilation:=0D - Which target you're trying=0D - Which build style=0D 3. what do you want to use it for (as you noticed there is 3 way of =0D using it so far)=0D 4. the output from : mysql_config=0D for me it is:=0D cohen% mysql_config=0D expr: syntax error=0D Usage: /usr/local/bin/mysql_config [OPTIONS]=0D Options:=0D --cflags [-I'/usr/local/include/mysql']=0D --libs [ -L'/usr/local/lib/mysql' -lmysqlclient -lz =0D= - -lm ]=0D --socket [/tmp/mysql.sock]=0D --port [3306]=0D --version [3.23.47]=0D =0D Cheers,=0D =0D Serge.=0D =0D Le vendredi 12 avril 2002, =C3=A0 08:47 , Jurjan Dijkstra a =C3=A9crit :=0D= =0D > dear serge,=0D > first of all, let me thank you for undertaking this=0D > project.=0D > it's just what i need for a project of mine.=0D >=0D > but now the=0D > troubles begin:=0D > 1) I can't get the source package to compile (there are=0D > (amongst others) lots of links to directories on your development=0D > machine.=0D > 2) When i download the binary package, it says very=0D > intelligently (KUDO's!!!) that i'm using a different mysql=0D > homedirectory and that it will place the framework (which (as far as i=0D= > know) is al i'm 'interested' in) in /library/frameworks.. i've done = this=0D > numerous times, but this part simply does not work, i'm very sorry to=0D= > say..=0D >=0D > i'm using marc liyanage's binary distribution for mysql=0D >=0D > (http://www.entropy.ch/software/macosx/mysql/)=0D >=0D > is there=0D > something i'm doing wrong???=0D > could you please help me??=0D >=0D > Thanks a=0D > lot...=0D > jurjan dijkstra=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8tq6uMygj1Wmx00YRAlUqAJ9aBVdXTxMMSa5Foo10UGrowDUOAgCglEXe e3q6BVxtRGoFE21v0hwlf94=3D =3DDH+z -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-11 19:47:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For the moment I'm using the same model as in all the API for mySQL:=0D one object for the connection,=0D one object for the result of a query;=0D =0D This is the more obvious way: this is how it's done in C API, the basis =0D= of the framework.=0D If you look at it, you'll find an API which is much like the PHP API =0D indeed.=0D =0D Now my "problem" is to find the proper way to launch the server thread, =0D= whereas for all the other functions of the C API the first argument is =0D= either a connection (MYSQL*) or result structure, the function to start =0D= a server thread takes the arguments which should be put on the command =0D= line after mysqld (I'm not sure to be clear here...).=0D Most likely I'll make a new class for handling the server thread, with a = =0D couple of accessors to set the options of the server before starting the = =0D thread.=0D =0D Then I want a SMySQLConnection initialiser which take the "server" =0D object, so the user doesn't have to take care again of the socket... to =0D= which it should connect.=0D =0D I'll try to think about it. In the mean time, maybe you want to have a =0D= look at the framework (present version), you can use it with an external = =0D server in the mean time I'm developping the server object: the same =0D SMySQLConnection class will then just have to be initialised in a =0D different way.=0D =0D Serge.=0D =0D =0D Le lundi 11 mars 2002, =C3=A0 08:17 , Dan Guisinger a =C3=A9crit :=0D =0D > I'd be interested in what your general ObjC interface is right now, I=0D= > haven't had a chance to browse through it, maybe I should so I don't=0D= > have to bother you at looking it up.=0D >=0D > I know with my C++ and PHP experience, I have built objects with a few=0D= > simple methods.=0D >=0D > ->Connect();=0D > ->Query();=0D > ->NextRecord();=0D > ->Close();=0D >=0D > And then I have always derived classes which are table specific, which=0D= > overrides the query, uses the parent query to send it to mysql, and = has=0D > specific Create, Update, Delete, and Select methods designed around = the=0D > data of that table. I know I have always designed it as far as=0D > simplicity and abstraction of the contents.=0D >=0D > I'm curious how you are going about it.=0D >=0D > As far as starting and stopping the server....I would create a second=0D= > class.=0D >=0D > The way I am used to doing this is one object creates the query = objects.=0D > Therefore, the master object could be the server or client in either=0D= > case. Each data/child object would be created and returned by the = main,=0D > pre-connected.=0D >=0D > Therefore it's transparent whether or not a client or embedded server = is=0D > in use.=0D >=0D > Of course, this is all coming from my background that application code=0D= > doesn't really have to see the database or SQL, it just needs access = to=0D > the data, which is why I've always used abstraction when using MySQL.=0D= >=0D > Dan Guisinger=0D > Atacomm / Ataractic Corporation=0D > www.atacomm.com=0D >=0D > -----Original Message-----=0D > From: Serge Cohen [mailto:co...@em...]=0D > Sent: Monday, March 11, 2002 10:28 AM=0D > To: Dan Guisinger=0D > Cc: mys...@li...=0D > Subject: Re: static linking and MySQL=0D >=0D > -----BEGIN PGP SIGNED MESSAGE-----=0D > Hash: SHA1=0D >=0D > Hi;=0D >=0D >=0D >=0D > I really remember to have once compiled SMySQL (the framework) with=0D >=0D > libmysqlclient statically linked... I'll try again and let you know=0D >=0D > want's up.=0D >=0D >=0D >=0D > The second point for using libmysqld instead of libmysqlclient is to=0D= >=0D > start and stop the server. I still have to think of the obj-C = interface=0D >=0D > to the starting of the server thread... If you have ideas on what the=0D= >=0D > framework should propose as interface for this purpous, let me know. = (So=0D >=0D >=0D > far I'm thinking to use a NSArray of NSString to pass arguments to the=0D= >=0D > start server).=0D >=0D >=0D >=0D > Serge.=0D >=0D >=0D >=0D >=0D >=0D > Le samedi 9 mars 2002, =C3=A0 01:41 , Dan Guisinger a =C3=A9crit :=0D >=0D >=0D >=0D >> Sorry for not getting back sooner. I'm just totally swamped right=0D > now,=0D >=0D >> although I am really hoping to get 4.0 embedded going by the end of=0D= > the=0D >=0D >> month.=0D >=0D >> yeah, I'm looking at libmysqld, which is the integrated server, it=0D > only=0D >=0D >> allows connections from within the same process.=0D >=0D >>=0D >=0D >> I'm currently scrambling to catch up on the Windows version of my app=0D= >=0D >> as Cocoa was too fun to develop in and I actually have a deadline on=0D= >=0D >> the Win32 app (a client wanted a similar app, so I'm going to just=0D >=0D >> customize a copy of it for them....its nice to finally make money on=0D= >=0D >> this project of mine. lol)=0D >=0D >>=0D >=0D >> I know the embedded server and 4.0 are both experimental, however = this=0D >=0D >=0D >> app is basically a replacement for entourage and outlook. It doesn't=0D= >=0D >> use complex queries so I think chances are using Alpha will work just=0D= >=0D >> fine, and I have an auto update feature so that we can upgrade to 4.0=0D= >=0D >> gold when its available.=0D >=0D >> (However i'm sure you'd agree, using their database engine sure does=0D= >=0D >> cut down on the load of a programmer for creating an application like=0D= >=0D >> this, where searches and filters can be applied in real time)=0D >=0D >>=0D >=0D >> I'll try to get on the mailing list in the next day or two. If you=0D= >=0D >> want, I am on both MSN Messenger and AOL Instant Messenger.=0D >=0D >> dgu...@ho... and DANMN200 respectively.=0D >=0D >>=0D >=0D >> -Dan=0D >=0D >>=0D >=0D >>=0D >=0D >> On Tuesday, March 5, 2002, at 04:22 AM, Serge Cohen wrote:=0D >=0D >>=0D >=0D >>> -----BEGIN PGP SIGNED MESSAGE-----=0D >=0D >>> Hash: SHA1=0D >=0D >>>=0D >=0D >>> Hi;=0D >=0D >>>=0D >=0D >>> first, it would be great if we continue this discussion on the=0D > mailing=0D >=0D >>> list (for browsable archiving reasons).=0D >=0D >>>=0D >=0D >>> I guess what you want is to embed in a application the libmysql=0D >=0D >>> (embeded db)?=0D >=0D >>> For the moment I remind to have managed once to compile SMySQL=0D > classes=0D >=0D >>> with static libmysqlclient, but did not manage to repoduce that = since=0D >=0D >=0D >>> then.=0D >=0D >>>=0D >=0D >>> I can propose you an other solution: keep dynamic linking but put = the=0D >=0D >=0D >>> library in the application bundle (maybe in Frameworks, or create a=0D= >=0D >>> Library?). I know that the recommended way to use a Framework with = an=0D >=0D >=0D >>> app. maybe one can do it with library as well.=0D >=0D >>>=0D >=0D >>> About the emebeded system now. You saw it's a new feature of MySQL = 4.=0D >=0D >=0D >>> which is still alpha. I was waiting a bit (I have my PhD in=0D > Structural=0D >=0D >>> Biology to finish...) before supporting it. I did not understood you=0D= >=0D >>> were really waiting for it. I've tried once the installation (using=0D= >=0D >>> the same patch ... as for previous version), and that was straight=0D= >=0D >>> forward.=0D >=0D >>>=0D >=0D >>> I'll try to give you definitive answers for in a couple of days. = (try=0D >=0D >=0D >>> static link again, putting the lib in the app bundle -one as to=0D > change=0D >=0D >>> the library used : otool -L libmysqlclient.dylib... -, and try to=0D > make=0D >=0D >>> a correct install of mysql4.)=0D >=0D >>>=0D >=0D >>> Serge.=0D >=0D >>>=0D >=0D >>>=0D >=0D >>>=0D >=0D >>> Le mardi 5 mars 2002, =C3=A0 03:12 , Dan Guisinger a =C3=A9crit :=0D >=0D >>>=0D >=0D >>>> Have you figured this out yet?=0D >=0D >>>>=0D >=0D >>>> I've been pulling my hair out, and I don't even want the MySQL=0D >=0D >>>> client. I want MySQL Embedded and both are driving me crazy.=0D >=0D >>>>=0D >=0D >>>> If you need any help, I'll help out.=0D >=0D >>>> I'm looking to create a framework for MySQL Embedded Server 4.0.1.=0D= >=0D >>>>=0D >=0D >>>> My current plans are to open source the embedded server framework=0D= >=0D >>>> although the product I am putting it into isn't open source. MySQL=0D= >=0D >>>> AB seems a little aggressive these days and I fear linking directly=0D= >=0D >>>> into our product would be putting us on their radar.=0D >=0D >>>>=0D >=0D >>>> -Dan=0D >=0D >>>>=0D >=0D >>>>=0D >=0D >>> - ----------------------------------------------------=0D >=0D >>> Serge Cohen=0D >=0D >>>=0D >=0D >>> GPG Key ID: 1024D/69B1D346=0D >=0D >>> - ----------------------------------------------------=0D >=0D >>> -----BEGIN PGP SIGNATURE-----=0D >=0D >>> Version: GnuPG v1.0.6 (Darwin)=0D >=0D >>> Comment: For info see http://www.gnupg.org=0D >=0D >>>=0D >=0D >>> iD8DBQE8hJxtMygj1Wmx00YRAtAKAKCgNi+XCCxw05zfwu1Q7qRG+WszwgCfclkV=0D >=0D >>> DyQzIvmxtdtmqmCyfZPRZPA=3D=0D >=0D >>> =3DjsSL=0D >=0D >>> -----END PGP SIGNATURE-----=0D >=0D >>>=0D >=0D >>=0D >=0D >>=0D >=0D > - ----------------------------------------------------=0D >=0D > Serge Cohen=0D >=0D >=0D >=0D > GPG Key ID: 1024D/69B1D346=0D >=0D > - ----------------------------------------------------=0D >=0D > -----BEGIN PGP SIGNATURE-----=0D > Version: GnuPG v1.0.6 (Darwin)=0D > Comment: For info see http://www.gnupg.org=0D >=0D > iD8DBQE8jNsvMygj1Wmx00YRAkhZAJ9B5IZJB0Nx4Ds0GzqQ61wGEQtghACfSUDQ=0D > vNBuKgA/NVM4RUVT40gsg6I=3D=0D > =3DKI7d=0D > -----END PGP SIGNATURE-----=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8jQopMygj1Wmx00YRAj5vAJwPAvi2pdmOLRNkhi2JD4Ew9wQrHQCfcnel jlpqZgh13DM0v1HJO0G9rJM=3D =3DBKTq -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-11 16:27:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D I really remember to have once compiled SMySQL (the framework) with =0D libmysqlclient statically linked... I'll try again and let you know =0D want's up.=0D =0D The second point for using libmysqld instead of libmysqlclient is to =0D start and stop the server. I still have to think of the obj-C interface =0D= to the starting of the server thread... If you have ideas on what the =0D= framework should propose as interface for this purpous, let me know. (So = =0D far I'm thinking to use a NSArray of NSString to pass arguments to the =0D= start server).=0D =0D Serge.=0D =0D =0D Le samedi 9 mars 2002, =C3=A0 01:41 , Dan Guisinger a =C3=A9crit :=0D =0D > Sorry for not getting back sooner. I'm just totally swamped right = now, =0D > although I am really hoping to get 4.0 embedded going by the end of = the =0D > month.=0D > yeah, I'm looking at libmysqld, which is the integrated server, it = only =0D > allows connections from within the same process.=0D >=0D > I'm currently scrambling to catch up on the Windows version of my app =0D= > as Cocoa was too fun to develop in and I actually have a deadline on =0D= > the Win32 app (a client wanted a similar app, so I'm going to just =0D > customize a copy of it for them....its nice to finally make money on =0D= > this project of mine. lol)=0D >=0D > I know the embedded server and 4.0 are both experimental, however this = =0D > app is basically a replacement for entourage and outlook. It doesn't =0D= > use complex queries so I think chances are using Alpha will work just =0D= > fine, and I have an auto update feature so that we can upgrade to 4.0 =0D= > gold when its available.=0D > (However i'm sure you'd agree, using their database engine sure does =0D= > cut down on the load of a programmer for creating an application like =0D= > this, where searches and filters can be applied in real time)=0D >=0D > I'll try to get on the mailing list in the next day or two. If you =0D= > want, I am on both MSN Messenger and AOL Instant Messenger.=0D > dgu...@ho... and DANMN200 respectively.=0D >=0D > -Dan=0D >=0D >=0D > On Tuesday, March 5, 2002, at 04:22 AM, Serge Cohen wrote:=0D >=0D >> -----BEGIN PGP SIGNED MESSAGE-----=0D >> Hash: SHA1=0D >>=0D >> Hi;=0D >>=0D >> first, it would be great if we continue this discussion on the = mailing =0D >> list (for browsable archiving reasons).=0D >>=0D >> I guess what you want is to embed in a application the libmysql =0D >> (embeded db)?=0D >> For the moment I remind to have managed once to compile SMySQL = classes =0D >> with static libmysqlclient, but did not manage to repoduce that since = =0D >> then.=0D >>=0D >> I can propose you an other solution: keep dynamic linking but put the = =0D >> library in the application bundle (maybe in Frameworks, or create a =0D= >> Library?). I know that the recommended way to use a Framework with an = =0D >> app. maybe one can do it with library as well.=0D >>=0D >> About the emebeded system now. You saw it's a new feature of MySQL 4. = =0D >> which is still alpha. I was waiting a bit (I have my PhD in = Structural =0D >> Biology to finish...) before supporting it. I did not understood you =0D= >> were really waiting for it. I've tried once the installation (using =0D= >> the same patch ... as for previous version), and that was straight =0D= >> forward.=0D >>=0D >> I'll try to give you definitive answers for in a couple of days. (try = =0D >> static link again, putting the lib in the app bundle -one as to = change =0D >> the library used : otool -L libmysqlclient.dylib... -, and try to = make =0D >> a correct install of mysql4.)=0D >>=0D >> Serge.=0D >>=0D >>=0D >>=0D >> Le mardi 5 mars 2002, =C3=A0 03:12 , Dan Guisinger a =C3=A9crit :=0D >>=0D >>> Have you figured this out yet?=0D >>>=0D >>> I've been pulling my hair out, and I don't even want the MySQL =0D >>> client. I want MySQL Embedded and both are driving me crazy.=0D >>>=0D >>> If you need any help, I'll help out.=0D >>> I'm looking to create a framework for MySQL Embedded Server 4.0.1.=0D= >>>=0D >>> My current plans are to open source the embedded server framework =0D= >>> although the product I am putting it into isn't open source. MySQL =0D= >>> AB seems a little aggressive these days and I fear linking directly =0D= >>> into our product would be putting us on their radar.=0D >>>=0D >>> -Dan=0D >>>=0D >>>=0D >> - ----------------------------------------------------=0D >> Serge Cohen=0D >>=0D >> GPG Key ID: 1024D/69B1D346=0D >> - ----------------------------------------------------=0D >> -----BEGIN PGP SIGNATURE-----=0D >> Version: GnuPG v1.0.6 (Darwin)=0D >> Comment: For info see http://www.gnupg.org=0D >>=0D >> iD8DBQE8hJxtMygj1Wmx00YRAtAKAKCgNi+XCCxw05zfwu1Q7qRG+WszwgCfclkV=0D >> DyQzIvmxtdtmqmCyfZPRZPA=3D=0D >> =3DjsSL=0D >> -----END PGP SIGNATURE-----=0D >>=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8jNsvMygj1Wmx00YRAkhZAJ9B5IZJB0Nx4Ds0GzqQ61wGEQtghACfSUDQ vNBuKgA/NVM4RUVT40gsg6I=3D =3DKI7d -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-11 16:19:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Where did you get the source for compilation from?=0D =0D Once you told me I'll try myself to get a more precise idea on what the =0D= problem might be.=0D =0D Serge.=0D =0D PS: Sorry for the delay; had some trouble in my work end of last week=0D =0D =0D Le dimanche 10 mars 2002, =C3=A0 07:57 , Famille GOUREAU-SUIGNARD a = =C3=A9crit :=0D =0D > Hi,=0D >=0D > I'm getting trouble to install SmySQL.=0D > I'm following instructions that are contained in = How_To_Build_Mysql.RTF =0D > that is in the Documentation folder.=0D >=0D > It tells :=0D > get and apply the patch for ltconfig:=0D > >curl http://mysql-=0D > cocoa.sourceforge.net/Documentation/ltconfig_1.2S.diff --output =0D > ltconfig_1.2S.diff=0D > >patch <ltconfig_1.2S.diff=0D >=0D > and when I try this instruction "patch blabla" it insults by a :=0D >=0D > [localhost:~/mysql_instal/mysql-3.23.47] cathy% ls=0D > COPYING README include =0D > man mysql-test support-files=0D > COPYING.LIB bin lib =0D > manual.html scripts tests=0D > ChangeLog configure ltconfig =0D > manual.txt share=0D > INSTALL-BINARY data ltconfig_1.2S.diff =0D > manual_toc.html sql-bench=0D > [localhost:~/mysql_instal/mysql-3.23.47] cathy% patch =0D > <ltconfig_1.2S.diff=0D > patching file ltconfig=0D > Hunk #1 FAILED at 1371.=0D > 1 out of 1 hunk FAILED -- saving rejects to file ltconfig.rej=0D >=0D >=0D > Does anybody has the solution ?=0D >=0D > Many thanks.=0D >=0D > Camille=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8jNlxMygj1Wmx00YRAgwEAJ46UFB5DDiU3RrfiKcA+DPsTdEIPACfY0rY 6c3MhXkgNymtU/4zYQKrBKg=3D =3DGEnT -----END PGP SIGNATURE----- |
From: Famille GOUREAU-S. <sui...@wa...> - 2002-03-10 06:57:41
|
Hi, I'm getting trouble to install SmySQL. I'm following instructions that are contained in How_To_Build_Mysql.RTF that is in the Documentation folder. It tells : get and apply the patch for ltconfig: >curl http://mysql- cocoa.sourceforge.net/Documentation/ltconfig_1.2S.diff --output ltconfig_1.2S.diff >patch <ltconfig_1.2S.diff and when I try this instruction "patch blabla" it insults by a : [localhost:~/mysql_instal/mysql-3.23.47] cathy% ls COPYING README include man mysql-test support-files COPYING.LIB bin lib manual.html scripts tests ChangeLog configure ltconfig manual.txt share INSTALL-BINARY data ltconfig_1.2S.diff manual_toc.html sql-bench [localhost:~/mysql_instal/mysql-3.23.47] cathy% patch <ltconfig_1.2S.diff patching file ltconfig Hunk #1 FAILED at 1371. 1 out of 1 hunk FAILED -- saving rejects to file ltconfig.rej Does anybody has the solution ? Many thanks. Camille |
From: Famille GOUREAU-S. <sui...@wa...> - 2002-03-06 20:34:15
|
Hi, I'm getting trouble to install SmySQL. I'm following instructions that are contained in How_To_Build_Mysql.RTF that is in the Documentation folder. It tells :get and apply the patch for ltconfig: >curl http://mysql- cocoa.sourceforge.net/Documentation/ltconfig_1.2S.diff --output ltconfig_1.2S.diff >patch <ltconfig_1.2S.diff and when I try this instruction "patch blabla" it insults by a : [localhost:~/mysql_instal/mysql-3.23.47] cathy% ls COPYING README include man mysql-test support-files COPYING.LIB bin lib manual.html scripts tests ChangeLog configure ltconfig manual.txt share INSTALL-BINARY data ltconfig_1.2S.diff manual_toc.html sql-bench [localhost:~/mysql_instal/mysql-3.23.47] cathy% patch <ltconfig_1.2S.diff patching file ltconfig Hunk #1 FAILED at 1371. 1 out of 1 hunk FAILED -- saving rejects to file ltconfig.rej So, could you please help me ? Many thanks. Camille |
From: Serge C. <co...@em...> - 2002-03-05 10:24:02
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =0D =0D D=C3=A9but du message r=C3=A9exp=C3=A9di=C3=A9 :=0D =0D > De : Serge Cohen <co...@em...>=0D > Date : Mar 05 mars 2002 12:14:38 Europe/Paris=0D > =C3=80 : David Hopkinson <sou...@kh...>=0D > Objet : R=C3=A9p : libmysqlclient.dylib=0D >=0D > -----BEGIN PGP SIGNED MESSAGE-----=0D > Hash: SHA1=0D >=0D > Hi;=0D >=0D > You should be Ok by using the MySQL Client installer you can get from =0D= > the MySQL Cocoa project.=0D >=0D > http://sourceforge.net/project/showfiles.php?group_id=3D42424=0D >=0D > then download : MySQL_Cocoa_installers_0.5.2.dmg.gz=0D >=0D > Then you have a package installer on the disk (after gunzip -from =0D > terminal, problem with name length in StuffIt-) mounted by =0D > MySQL_Cocoa_installers_0.5.2.dmg=0D >=0D > Just launch the package installer.=0D >=0D > Serge.=0D >=0D > PS: This is just to get the Client side of MySQL.=0D > I'm preparing a binary release of MySQL 4.1 (alpha or beta?) soon.=0D >=0D >=0D > Le lundi 4 mars 2002, =C3=A0 11:40 , David Hopkinson a =C3=A9crit :=0D >=0D >> User id:kcskhala=0D >>=0D >> Hi there=0D >>=0D >> I am trying to have a play with your software but am having=0D >> trouble greating libmysqlclient.dylib=0D >>=0D >> i have followed you instructions but I'm afraid I'm getting=0D >> nowhere :-(=0D >>=0D >> I am running osx 10.1.3 with devtools dec 2001 with the=0D >> recent updates.=0D >>=0D >> Could you give me some pointers in the right direction=0D >>=0D >> Many thanks=0D >>=0D >> David Hopkinson=0D >>=0D >>=0D > - ----------------------------------------------------=0D > Serge Cohen=0D >=0D > GPG Key ID: 1024D/69B1D346=0D > - ----------------------------------------------------=0D > -----BEGIN PGP SIGNATURE-----=0D > Version: GnuPG v1.0.6 (Darwin)=0D > Comment: For info see http://www.gnupg.org=0D >=0D > iD8DBQE8g//mMygj1Wmx00YRAmQmAKCJMkxpf5dXgv7rQkpld1vfQjFx2ACeIzNr=0D > 7EbRYXLkI154ugaZUjzbCOo=3D=0D > =3DXqSe=0D > -----END PGP SIGNATURE-----=0D >=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8hJ03Mygj1Wmx00YRAnfYAJ9XgXnNrDnoTdcrAdKetpW/LWqxKQCghDes 9iQ2xV9wbZb/yUGcjwio9fs=3D =3D9dJd -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-05 10:23:59
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =0D =0D D=C3=A9but du message r=C3=A9exp=C3=A9di=C3=A9 :=0D =0D > De : Serge Cohen <co...@em...>=0D > Date : Mar 05 mars 2002 01:26:29 Europe/Paris=0D > =C3=80 : sou...@kh...=0D > Objet : R=C3=A9p : libmysqlclient.dylib=0D >=0D > -----BEGIN PGP SIGNED MESSAGE-----=0D > Hash: SHA1=0D >=0D > Hi again,=0D >=0D > If you still have a problem with compiling MySQL, can you try to give =0D= > me info on where the process crashes?=0D > If you don't have precise message from the compiler (or libtool, =0D > or...), forget-it, it's mainly curiosity from me.=0D >=0D > Serge.=0D >=0D > Le mardi 19 janvier 2038, =C3=A0 04:14 , David Hopkinson a =C3=A9crit = :=0D >=0D >> Dam that was a quick reply!=0D >>=0D >> I am just giving you instructions a last go (rebuilding mysql)=0D >>=0D >> If that fails - I'll do wah tyou suggested - don't really know why = the =0D >> dylib=0D >> won't create!=0D >>=0D >> Thanks=0D >>=0D >> David=0D >>> -----BEGIN PGP SIGNED MESSAGE-----=0D >>> Hash: SHA1=0D >>>=0D >>> Hi;=0D >>=0D >>>=0D >>=0D >>> You should be Ok by using the MySQL Client installer you can get = from=0D >>>=0D >>> the MySQL Cocoa project.=0D >>=0D >>>=0D >>=0D >>> http://sourceforge.net/project/showfiles.php?group_id=3D42424=0D >>=0D >>>=0D >>=0D >>> then download : MySQL_Cocoa_installers_0.5.2.dmg.gz=0D >>=0D >>>=0D >>=0D >>> Then you have a package installer on the disk (after gunzip -from=0D >>=0D >>> terminal, problem with name length in StuffIt-) mounted by=0D >>=0D >>> MySQL_Cocoa_installers_0.5.2.dmg=0D >>=0D >>>=0D >>=0D >>> Just launch the package installer.=0D >>=0D >>>=0D >>=0D >>> Serge.=0D >>=0D >>>=0D >>=0D >>> PS: This is just to get the Client side of MySQL.=0D >>=0D >>> I'm preparing a binary release of MySQL 4.1 (alpha or beta?) soon.=0D= >>=0D >>>=0D >>=0D >>>=0D >>=0D >>> Le lundi 4 mars 2002, =C3=83 11:40 , David Hopkinson a =C3=83=C2=A9cr= it :=0D >>=0D >>>=0D >>=0D >>>> User id:kcskhala=0D >>=0D >>>>=0D >>=0D >>>> Hi there=0D >>=0D >>>>=0D >>=0D >>>> I am trying to have a play with your software but am having=0D >>=0D >>>> trouble greating libmysqlclient.dylib=0D >>=0D >>>>=0D >>=0D >>>> i have followed you instructions but I'm afraid I'm getting=0D >>=0D >>>> nowhere :-(=0D >>=0D >>>>=0D >>=0D >>>> I am running osx 10.1.3 with devtools dec 2001 with the=0D >>=0D >>>> recent updates.=0D >>=0D >>>>=0D >>=0D >>>> Could you give me some pointers in the right direction=0D >>=0D >>>>=0D >>=0D >>>> Many thanks=0D >>=0D >>>>=0D >>=0D >>>> David Hopkinson=0D >>=0D >>>>=0D >>=0D >>>>=0D >>=0D >>> - ----------------------------------------------------=0D >>=0D >>> Serge Cohen=0D >>=0D >>>=0D >>=0D >>> GPG Key ID: 1024D/69B1D346=0D >>=0D >>> - ----------------------------------------------------=0D >>=0D >>> -----BEGIN PGP SIGNATURE-----=0D >>> Version: GnuPG v1.0.6 (Darwin)=0D >>> Comment: For info see http://www.gnupg.org=0D >>>=0D >>> iD8DBQE8g//mMygj1Wmx00YRAmQmAKCJMkxpf5dXgv7rQkpld1vfQjFx2ACeIzNr=0D >>> 7EbRYXLkI154ugaZUjzbCOo=3D=0D >>> =3DXqSe=0D >>> -----END PGP SIGNATURE-----=0D >>>=0D >>>=0D >>>=0D >>=0D >>=0D > - ----------------------------------------------------=0D > Serge Cohen=0D >=0D > GPG Key ID: 1024D/69B1D346=0D > - ----------------------------------------------------=0D > -----BEGIN PGP SIGNATURE-----=0D > Version: GnuPG v1.0.6 (Darwin)=0D > Comment: For info see http://www.gnupg.org=0D >=0D > iD8DBQE8hBC9Mygj1Wmx00YRAhVjAKChQrsJcuxvJVd91pAoX6tSRw5NDQCggp8U=0D > UcdapQRIooGI4HGA1doqK7U=3D=0D > =3Dvf+M=0D > -----END PGP SIGNATURE-----=0D >=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8hJ0iMygj1Wmx00YRAt55AKCMVT3KHur9MPIr3gMBqyoGTW/BcACfb1bA lu2GWXdyYsg0DHlCdZst2RY=3D =3DGpOs -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-05 10:21:39
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D first, it would be great if we continue this discussion on the mailing =0D= list (for browsable archiving reasons).=0D =0D I guess what you want is to embed in a application the libmysql (embeded = =0D db)?=0D For the moment I remind to have managed once to compile SMySQL classes =0D= with static libmysqlclient, but did not manage to repoduce that since =0D= then.=0D =0D I can propose you an other solution: keep dynamic linking but put the =0D= library in the application bundle (maybe in Frameworks, or create a =0D Library?). I know that the recommended way to use a Framework with an =0D= app. maybe one can do it with library as well.=0D =0D About the emebeded system now. You saw it's a new feature of MySQL 4. =0D= which is still alpha. I was waiting a bit (I have my PhD in Structural =0D= Biology to finish...) before supporting it. I did not understood you =0D were really waiting for it. I've tried once the installation (using the =0D= same patch ... as for previous version), and that was straight forward.=0D= =0D I'll try to give you definitive answers for in a couple of days. (try =0D= static link again, putting the lib in the app bundle -one as to change =0D= the library used : otool -L libmysqlclient.dylib... -, and try to make a = =0D correct install of mysql4.)=0D =0D Serge.=0D =0D =0D =0D Le mardi 5 mars 2002, =C3=A0 03:12 , Dan Guisinger a =C3=A9crit :=0D =0D > Have you figured this out yet?=0D >=0D > I've been pulling my hair out, and I don't even want the MySQL client. = =0D > I want MySQL Embedded and both are driving me crazy.=0D >=0D > If you need any help, I'll help out.=0D > I'm looking to create a framework for MySQL Embedded Server 4.0.1.=0D >=0D > My current plans are to open source the embedded server framework =0D > although the product I am putting it into isn't open source. MySQL AB = =0D > seems a little aggressive these days and I fear linking directly into =0D= > our product would be putting us on their radar.=0D >=0D > -Dan=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8hJxtMygj1Wmx00YRAtAKAKCgNi+XCCxw05zfwu1Q7qRG+WszwgCfclkV DyQzIvmxtdtmqmCyfZPRZPA=3D =3DjsSL -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-03-04 12:48:56
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D Depending of how you installed MySQL you can have:=0D =0D libmysqlclient.dylib in /usr/lib/mysql/ (installation from sources or =0D= using the package installer fro mysql-cocoa)=0D it can be somewhere like: /usr/local/mysql/lib (from a binary install =0D= - -not so sure of the place-).=0D =0D Can you be more precise on how you install MySQL?=0D =0D To handle .dmg files, yuo need to have disk copy (in =0D /Applications/Utilities), which is normally standardly installed during =0D= the OS installation (that to say, I'll be suprised you don't have it).=0D= Just double click the file (in finder), then it mounts a disk.=0D =0D Tell me (not via this list), if any other problem, we can have exchanges = =0D in French.=0D =0D Serge.=0D =0D =0D Le dimanche 3 mars 2002, =C3=A0 08:49 , Famille GOUREAU-SUIGNARD a = =C3=A9crit :=0D =0D > Hi,=0D >=0D > does anybody knows how to handle dmg files or archives ?=0D >=0D > Thanks.=0D >=0D >=0D > _______________________________________________=0D > Mysql-cocoa-users mailing list=0D > Mys...@li...=0D > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8g22UMygj1Wmx00YRAiEpAJoDt8f0r3gZk66qxRM6m6S7U2TJAQCfRzbL v3WhG7Re39EADTOx0HUtZ28=3D =3DxRvT -----END PGP SIGNATURE----- |
From: Famille GOUREAU-S. <sui...@wa...> - 2002-03-03 19:50:03
|
Hi, does anybody knows how to handle dmg files or archives ? Thanks. |
From: Famille GOUREAU-S. <sui...@wa...> - 2002-03-01 21:19:36
|
Hi, so, I'm new on this list, and BTW french. Here is the first question : where could I find "libmysqlclient.dylib" ? After installing MySQl, I can find it nowhere via the terminal "find / -name ..." And it seems that I need it to use MySQl from a cocoa application build under PB. Many thanks. Camille |
From: Serge C. <co...@em...> - 2002-03-01 14:07:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D Indeed we are just 3 of us so far on this list...=0D =0D Hope we'll get some more sometimes (statistics are not too bad dor page =0D= view and downloads)...=0D =0D List admin.=0D =0D Serge.=0D =0D Le vendredi 1 mars 2002, =C3=A0 12:24 , Famille GOUREAU-SUIGNARD a = =C3=A9crit :=0D =0D > Hi=0D >=0D > If there is anybody on this mailing list, please respond.=0D > It seems that there is not a lot of traffic there.=0D >=0D > Thanks.=0D >=0D >=0D > _______________________________________________=0D > Mysql-cocoa-users mailing list=0D > Mys...@li...=0D > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8f4tnMygj1Wmx00YRAvnAAJ9zMI1YN5NHzZKoeWqiFphSaJoMzACglj31 DQH0NzQhd3jC2hL4nHR9zXM=3D =3DYaCT -----END PGP SIGNATURE----- |
From: John G. <jo...@jl...> - 2002-03-01 11:49:39
|
There aren't too many of us yet, I've only started looking at this code, but downloaded the latest version and managed to get it installed. more updates as progress is made JOhn |
From: Famille GOUREAU-S. <sui...@wa...> - 2002-03-01 11:25:19
|
Hi If there is anybody on this mailing list, please respond. It seems that there is not a lot of traffic there. Thanks. |
From: Serge C. <co...@em...> - 2002-01-07 12:33:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Is there anybody out there? - ---------------------------------------------------- Serge Cohen GPG Key ID: 1024D/69B1D346 - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8OZY+Mygj1Wmx00YRAmudAJ46G2Fruyc5ZWXz8u45HbEbaG4DlACfW7N4 Xt1Pi0Ld6xHJx90uyOxxlh4= =tTh5 -----END PGP SIGNATURE----- |
From: Serge C. <co...@em...> - 2002-01-01 18:11:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Salut, test des mailing list de mysql-cocoa: user devl commits Serge. - ---------------------------------------------------- Serge Cohen GPG Key ID: 1024D/69B1D346 - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8Mfx4Mygj1Wmx00YRAiqLAJ998IsFz4uj8OMbe9YNNc1J5n1AhQCgl+xQ lD9TOaGVawqtxglnr1Hj9ZU= =oCIE -----END PGP SIGNATURE----- |