Re: libmysqld as shared library (The Sequel)

2005-11-10 Thread Peter M. Groen
On Thursday 10 November 2005 22:05, Warren Young wrote: > Peter M. Groen wrote: > > Still no luck. I'm trying to build libmysqld as a shared library for use > > in a project. > > This is a platform-specific issue. I don't see anything in this message > or y

Re: libmysqld as shared library (The Sequel)

2005-11-10 Thread Warren Young
Peter M. Groen wrote: Still no luck. I'm trying to build libmysqld as a shared library for use in a project. This is a platform-specific issue. I don't see anything in this message or your previous thread that tells the details about your platform. What compiler, what operat

libmysqld as shared library (The Sequel)

2005-11-10 Thread Peter M. Groen
Hi (Again), Still no luck. I'm trying to build libmysqld as a shared library for use in a project. I'd rather not link it statically into my project.. I'm using 5.0.15. According to the documentation, I'll have to configure with --enable-shared=yes and --with-embedded-s

Re: libmysqld as shared library

2005-11-10 Thread Peter M. Groen
27;m asking something > > already > > discussed. (Found nothing in the archives, though) > > > > For this project we're doing, we try to build qt 4.0.1 with embedded > > mysql-support. The qt-part is no problem, but mysql 5.0.15 won't let > &g

Re: libmysqld as shared library

2005-11-10 Thread Bruce Martin
27;m asking something already discussed. (Found nothing in the archives, though) For this project we're doing, we try to build qt 4.0.1 with embedded mysql-support. The qt-part is no problem, but mysql 5.0.15 won't let me build a shared library for libmysqld. Very strange. According to the

libmysqld as shared library

2005-11-10 Thread Peter M. Groen
build a shared library for libmysqld. Very strange. According to the documentation, I have to give: ./configure --with-embedded-server --enable-shared=yes but no lib is being build... make even errors on the libmysqld/examples directory ('no rules to make target') I even tried (I

MySQL 5.0 and libmysqld

2005-09-12 Thread Burke, Dan
Has anyone tried using the embedded server with MySQL 5.0 yet? I have an application that I'm anxious to take advantage of triggers with. It's not a money maker, so it's no big deal if it has a few quirks, but if it's just totally a "bad idea" right now, I won't risk it. The main reason I'm consi

Re: libmysqld and PHP

2004-02-25 Thread Ligaya Turmelle
You might want to post this on the PHP user lists at news.php.net sub-group php.general Respectfully, Ligaya Turmelle ""David Jackson"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I was wondering if I can user libmysqld with PHP. > > If it

libmysqld and PHP

2004-02-25 Thread David Jackson
I was wondering if I can user libmysqld with PHP. If it's possible would someone post a simple exampe. TIA, David -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Size of embedded libmysqld library

2003-10-29 Thread Josh Green
I'm working on an embedded Linux project on the MIPS platform. We have rather limited space for storing binaries and libs and also limited RAM so I was trying to trim down libmysqld as small as possible. Currently the libmysqld.a is about 8MB in size and this is after an objdump --strip-unn

Re: [OT] libmysqld (was Re: [Submitting BUGS] Paying for Support)

2003-09-28 Thread Jakob Dölling
MY APPLICATION. > Up to now, after reading and re-reading the docs about the embedded server, > I don't have a clear understaning of what can be done with that embedded > server (I just read electronic appliances, ...) Not embedded in hardware, but instead in software. There is also libmys

Re: using libmysqld - can't connect to remote DB as client.

2002-11-07 Thread Paul DuBois
At 11:14 -0800 11/7/02, Steven Webb wrote: On that page, it says: "You can't connect to the embedded server from an outside process with sockets or TCP/IP." ... not the other way around, which is what I'm trying to do. I'm trying to connect to another (remote) server from the same app as is usi

Re: using libmysqld - can't connect to remote DB as client.

2002-11-07 Thread Steven Webb
uff is also disabled? - Steve --- Paul DuBois <[EMAIL PROTECTED]> wrote: > At 11:09 -0800 11/6/02, Steven Webb wrote: > >I'm using libmysqld so I can have an "embedded" > mysql > >server in my application. It helps with > performance > >because there is not

Re: using libmysqld - can't connect to remote DB as client.

2002-11-07 Thread Bernhard Döbler
Hi, I didn't get your code but I haven't read all mails received through the night... But I these days don't find the time to analyze it. I've only once experimented with libmysqld so far and didn't enjoy it very much since the INNO-tables storing the table-linking-info

Re: using libmysqld - can't connect to remote DB as client.

2002-11-06 Thread Paul DuBois
At 11:09 -0800 11/6/02, Steven Webb wrote: I'm using libmysqld so I can have an "embedded" mysql server in my application. It helps with performance because there is not socket communication and all I/O is done from the program directly to the files. Anyway, I have the need to al

RE: using libmysqld - can't connect to remote DB as client.

2002-11-06 Thread Steven Webb
har *unix_socket, unsigned int client_flag); I'm calling it as: mysql_real_connect(db, host, user, passwd, dbname, 0, NULL, CLIENT_COMPRESS); That should work, yes? My code is almost the exact same as the libmysqld example source here (http://www.mysql.com/documentation/mysql/bychapter/manual_Clie

Re: using libmysqld - can't connect to remote DB as client.

2002-11-06 Thread Steven Webb
I'm using libmysqld so I can have an "embedded" mysql server in my application. It helps with performance because there is not socket communication and all I/O is done from the program directly to the files. Anyway, I have the need to also connect to a remote database in the s

RE: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Luc Foisy
asswd="") I really know nothing about the c, c++ api's, just trying to help > -Original Message- > From: Steven Webb [mailto:scumola@;yahoo.com] > Sent: Tuesday, November 05, 2002 3:58 PM > To: Black, Kelly W [PCS]; Mysql list > Subject: RE: using libmysqld -

RE: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Steven Webb
quot;); > > db_do_query(two, "SHOW DATABASES"); --- "Black, Kelly W [PCS]" <[EMAIL PROTECTED]> wrote: > So use the C syntx instead. > > :) > > -Original Message- > From: Steven Webb [mailto:scumola@;yahoo.com] > Sent: Tuesday, November

RE: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Black, Kelly W [PCS]
So use the C syntx instead. :) -Original Message- From: Steven Webb [mailto:scumola@;yahoo.com] Sent: Tuesday, November 05, 2002 12:21 PM To: Black, Kelly W [PCS]; Mysql list Subject: RE: using libmysqld - can't connect to remote DB as client. Ok, but I'm writing this in C

RE: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Steven Webb
he connect. > > Not certain but at least I am trying to help :) > > Oh and don't forget sql query! :) > > ~Kelly W. Black > > > -Original Message- > From: Steven Webb [mailto:scumola@;yahoo.com] > Sent: Tuesday, November 05, 2002 11:20 AM > To:

RE: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Black, Kelly W [PCS]
com] Sent: Tuesday, November 05, 2002 11:20 AM To: Mysql list Subject: Re: using libmysqld - can't connect to remote DB as client. Still nobody has answered my question. Has anyone here even tried linking with libmysqld.a before? - Steve --- Steven Webb <[EMAIL PROTECTED]> w

Re: using libmysqld - can't connect to remote DB as client.

2002-11-05 Thread Steven Webb
Still nobody has answered my question. Has anyone here even tried linking with libmysqld.a before? - Steve --- Steven Webb <[EMAIL PROTECTED]> wrote: > Nobody answered my question, so I felt like I should > ask again ... > > I'm using libmysqld to embed a mysql server

using libmysqld - can't connect to remote DB as client.

2002-10-28 Thread Steven Webb
Nobody answered my question, so I felt like I should ask again ... I'm using libmysqld to embed a mysql server in my C app. However, I'd also like to connect to other remote mysql databases as well, but the "mysql_real_connect" command doesn't seem to be working wh

using libmysqld, can I still connect to a remote DB as a client in the same app?

2002-10-24 Thread Steven Webb
I'm writing an application that maintains its own database using the mysqld lib. I can use "mysql_real_connect" to connect to the "internal" server fine, but I also want to be able to connect to an external (or remote) server as well. When using "mysql_real_connect" to try to connect to a remote

libmysqld and connections to remote server.

2002-09-02 Thread Andre Moll
Hi folks, I just started playing around with libmysqld and I would like to have some clarification concerning making connections to remote server. My first tries are pretty simple so far. I just linked some of my old lil code against libmysqld which worked (from the view compiling) immediately

Thread leak in libmysqld for win32

2002-05-27 Thread Frans E. van Dorsselaer
The embedded server of 4.0.1 for win32 leaks one thread (the server thread to be exact) per mysql_server_init / mysql_server_end pair. I've experimented with mysql_shutdown and mysql_thread_end as well, but they do not resolve the issue. Eventually (after 10 times or so starting/ending the serve

Bug in embedded libmysqld library or configuration problem?

2001-12-26 Thread Niksa Jurinovic
From: Niksa Jurinovic <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Bug in embedded libmysqld library or configuration problem >Description: mysql-4.0.1-alpha, Linux Mandrake 8.1, Kernel 2.4.8 I have configured and compiled source code as always, without any problems. '

libmysqld

2001-11-01 Thread Jeroen Wolsink
Hi, Can anyone tell me how i get a win32 mysql embedded library? Thanks, Jeroen - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To req

Re: Seg faults with mysql_query & mysql_ping using libmysqld

2001-10-26 Thread Sasha Pachev
On Friday 26 October 2001 11:12, [EMAIL PROTECTED] wrote: > Hello, > > I am experiencing seg faults in seemingly innocent code with MySQL version 4.0.0 > and the embedded library, libmysqld. > The fault only happens when calling particular functions, specifically > mysql_ping

Re: Seg faults with mysql_query & mysql_ping using libmysqld

2001-10-26 Thread Sergei Golubchik
Hi! On Oct 26, [EMAIL PROTECTED] wrote: > Hello, > > I am experiencing seg faults in seemingly innocent code with MySQL version 4.0.0 > and the embedded library, libmysqld. > The fault only happens when calling particular functions, specifically > mysql_ping() and mysql_query(

Seg faults with mysql_query & mysql_ping using libmysqld

2001-10-26 Thread greg . kurzawa . b
Hello, I am experiencing seg faults in seemingly innocent code with MySQL version 4.0.0 and the embedded library, libmysqld. The fault only happens when calling particular functions, specifically mysql_ping() and mysql_query(). There might be others, but these are the only ones I've fou