stored procedures & embedded server

2008-12-03 Thread Alex Katebi
For embedded server do I need to configure --with-embedded-privilege-control? It looks like stored procedure is looking for mysql.proc table. Thanks.

Embedded server with the archive storage engine

2006-10-22 Thread imre
Hi, Is it possible to use the embedded server with the archive storage engine (version 5.0.24a)? I tried to build it on windows with VS2005, and encountered a few problems. After I managed to build it, I had an assertion failure in a file close operation. I built libmysqld in the following way

Re: connecting to the embedded server

2006-07-19 Thread Frank
gt; Yes, the embedded version also acts as a standard MySQL client. > >> Is it possible to influence this behaviour, so that the API just ignores >> settings like the hostname and the port and always connects to the >> embedded server? > > You can call mysql_options(mysql

Re: connecting to the embedded server

2006-07-19 Thread Jim Winstead
L client. > Is it possible to influence this behaviour, so that the API just ignores > settings like the hostname and the port and always connects to the embedded > server? You can call mysql_options(mysql, MYSQL_OPT_USE_EMBEDDED_CONNECTION, 0) after calling mysql_init() and before ca

connecting to the embedded server

2006-07-19 Thread Frank
to the embedded server? Regards, Frank -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

embedded server on win CE

2005-09-22 Thread Pragya Agarwal
I have searched the internet and scanned the manual, but have not found any pointers to using mysql or its embedded server on a windows CE device. A few quick questions which might seem to be trivial to you but will help me go ahead: 1. Can I use embedded server in a win CE device

Problem with embedded server

2005-02-07 Thread Niklas Lampén
Hello, I am coding a windows application with MySQL 4.1 C API but I cannot get the embedded server to run. With a remote server the application works just fine, so starting the embedded server is the only problem. getcwd(CWD, MAX_PATH); sprintf(BaseDir, "--basedir=%s\\", CWD); sprin

use of embedded server with 4.1.9

2005-02-02 Thread Joseph Garry
I had written a windows app using the C api that used the embedded server for 4.0.18, and it worked fine. Now I am trying to upgrade to 4.1.9, and it is not working. When I hit the statement mysql_real_connect, it gpf's. This behaviour is the same as what I experience when I try to ru

RE: embedded server for 4.1.9

2005-02-02 Thread Joe Garry
: [EMAIL PROTECTED]; mysql@lists.mysql.com Subject: RE: embedded server for 4.1.9 Yep, you seem to have a good handle on the authentication issue. Have you tried compiling a DEBUG version and tracing through the code? Maybe you can catch the GPF when it happens and figure out what's messing up.

RE: embedded server for 4.1.9

2005-02-02 Thread SGreen
; gpf's. If it were an authentication issue, I would expect that it would > simply fail to connect. As well, I have downloaded the source for 4.1.9, > and have tried to run the test for the embedded server, and I am getting > similar results. H. > > Joe Garry > Softwar

Re: OS X Embedded Server

2004-09-03 Thread Paul DuBois
figuring out how to: 1. Include the MySQL embedded server in my application bundle Dunno. 2. Initiate the embedded server from within my application's code mysql_real_connect(), just like a client/server program. 3. Change my existing queries to work with the embedded server No changes needed

OS X Embedded Server

2004-08-16 Thread John Mistler
embedded server in my application bundle 2. Initiate the embedded server from within my application's code 3. Change my existing queries to work with the embedded server Anyone have experience with this? Thanks, John -- MySQL General Mailing List For list archives: http://lists.mysql.com/mys

mySQL 5.0 compiling embedded server with VS 2003/Windows

2004-07-25 Thread Hernando Patino
externals I included the two preprocessors as stated elsewhere in this newgroup: SAFEMALLOC andSAFE_MUTEX IS version 4.1.13 or 5.0 compilable with Visual studio? Do I need to run a script mysql_config since version 4.1.13 and version 5.0 of mysql already includes a folder libmysqld for embedded

Looking for libmysqld.dll (embedded server) for MySQL 4.1.1 on Win2k

2004-05-23 Thread mos
I've have been looking for libmysqld.dll so I can test the MySQL embedded server on my Win2k machine. Where can I download it? I've searched www.mysql.com to no avail. TIA Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscrib

Cant run MySQL embedded server

2004-04-06 Thread Karam Chand
*dbname); void db_disconnect(MYSQL *db); void db_do_query(MYSQL *db, const char *query); static char *server_args[] = { "test", /* this string is not used */ "--datadir=.", "--key_buffer_size=32M" }; static char *server_groups[] = { "embedded&quo

Re: MySQL embedded server example bug

2003-08-18 Thread Victoria Reznichenko
Vladimir Espinosa Angarica <[EMAIL PROTECTED]> wrote: > >I've found a bug in the example presented in the Official MySQL > Manual in the section 9.1.15.6 A Simple Embedded Server Example. I tried > to compile the program following the instructions depicted in the ma

MySQL embedded server example bug

2003-08-15 Thread Vladimir Espinosa Angarica
Hi Team: I've found a bug in the example presented in the Official MySQL Manual in the section 9.1.15.6 A Simple Embedded Server Example. I tried to compile the program following the instructions depicted in the manual and a compiling error arose. The error was: gcc -g -W -Wall -

Re: Embedded server application: Can it act as a client for a remote server ?

2003-06-25 Thread Paul DuBois
At 11:51 -0700 6/25/03, Satheesh Ganapathi Subramanian wrote: Hi I'm trying to create an application linked with libmysqld.a to create an embedded server. Can my application act as a client to connect to a remote server ? To be more precise, I would like to use mysql_real_conne

Embedded server application: Can it act as a client for a remote server ?

2003-06-25 Thread Satheesh Ganapathi Subramanian
Hi I'm trying to create an application linked with libmysqld.a to create an embedded server. Can my application act as a client to connect to a remote server ? To be more precise, I would like to use mysql_real_connect(db, "remoteserver.xxx.com", "mysql", 0, 0, 0, 0,

Re: Infos about the embedded server dll

2003-06-23 Thread Wavyx
better. Eric From: Wavyx <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Infos about the embedded server dll Date: Mon, 23 Jun 2003 18:49:02 +0200 Hello, I'm looking for informations about the Embedded Server DLL. There's not a lot of in the manuel (libmysqld section). Where can

Re: Infos about the embedded server dll

2003-06-23 Thread Derick Smith
The function are in chapter 8.4.5 of the manual. I tried using the embedded library in C, then calling it from VB through a DLL without any luck. The libmysql.dll seems to work better. Eric From: Wavyx <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Infos about the embedded server dl

Infos about the embedded server dll

2003-06-23 Thread Wavyx
Hello, I'm looking for informations about the Embedded Server DLL. There's not a lot of in the manuel (libmysqld section). Where can I Find the available functions? Are they the same as in the C API? I'm planning to use the dll from C#. Does anyone already try to "int

Segmentation Fault in mysql_server_init() while using Embedded server

2003-06-16 Thread Satheesh Ganapathi Subramanian
Hi All I'm trying to create a new database using the embedded server (MySQL 4.0.13). I compiled the source distribution on linux as follows: ./configure --prefix=/fs32/b/sgsubram/bin/MySQL-with-new-hash/LINUX --enable-assembler --with-mysqld-ldflags=-all-static --localstatedir=/f

Linking libmysqld.a Error (Embedded Server)

2003-06-12 Thread Hyrum Wright
I'm writing an application that uses the MySQL embedded server as the datasource but for some reason, I can't link in the mysqld library. I'm using the following command: [EMAIL PROTECTED] dbil $ gcc -g -o test `mysql_config --cflags --libmysqld-libs` dbi

embedded server - show processlist returns empty set

2003-06-07 Thread gamin
Hi Im running mysql 4.0.12-embedded, a simple query - 'show proceslist'; returns an empty set ? Is this a bug ? thx G

call to 'OPTIMIZE TABLE' in another thread hanging with embedded server

2003-05-30 Thread gamin
Hi, Im encountering something very funny with embedded server (libmysqld.dll) ver 4.0.12, im connecting to this using Delphi 7 statically on a windows 98 machine. If i call mysql_real_query('OPTIMIZE TABLE my_db.my_table') in the main thread it works perfectly fine, but the mom

embedded server

2003-03-16 Thread Guillaume Burlet
hi ! I've wrote an application that run on Win32 and that embed the server. It works perfectly on XP but some friends of mine reported crash on win2000 when mysql_server_init(...) is called. When I debug it (winXP / MSVC++ 6.0 / MySQL 4.0.11) the debug process stops when mysql_server_init(...) i

Re: mysql embedded server threads

2003-03-11 Thread Gabor Dorka
Does anybody (on this list) know anything about threaded embedded server? Where can I get info about this problem? >I've been using mysql embedded server in my online game >project. The game server receive client requests, >and create a new thread for every request. >I made

mysql embedded server threads

2003-03-09 Thread Gabor Dorka
Hi! I've been using mysql embedded server in my online game project. The game server receive client requests, and create a new thread for every request. I made some tests with a single thread, and found some strange things. The following code works under Windows XP, but doesn't work un

Bug report: MySQL Embedded Server v4.0.10

2003-03-05 Thread Matt Solnit
Bug report -- MySQL Embedded Server v4.0.10, binary distribution for Windows

Re: problem building mysql as an embedded server

2003-02-18 Thread Travis McLeskey
> Hi All, > > I am trying to run mysqld as an embedded server within > my application. I have read the manual which says to > run configure with --with-embedded-server option, but > I have not succeded in building libmysqld.a. It builds > all the remaining libs, but I d

Re: Disable log messages for Embedded Server?

2003-01-13 Thread Heikki Tuuri
hen has stdout solely for its own use. Regards, Heikki Innobase Oy - Original Message - From: "Matt Solnit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Heikki Tuuri" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 9:26 PM Subject: Disable log mes

Disable log messages for Embedded Server?

2003-01-13 Thread Matt Solnit
Is there any way to disable log messages being written to the standard output using Embedded Server? Using mysqld, they are automatically redirected to mysql.err (under Windows, at least), but there seems to be no way to do this in Embedded. We would like to be able to display our own output to

problem of using API in embedded server mode

2002-08-02 Thread Chai Wutiwiwatchai
To use MySQL API on Linux RH7.3 in embedded-server mode, I have compiled my source by gcc -o test test.c -L/usr/local/mysql/lib -lmysqlclient It appeared an error message undefined reference to 'mysql_server_init' undefined reference to 'mysql_server_end' The man

Embedded server problems

2002-07-24 Thread Kern Sibbald
e seems to be no way to build a mysql with the embedded server. If there is please tell me how. This is important because mysql is used to create the databases. 2. The embedded server apparently doesn't support the default table type, which I imagine is MYISAM or ISAM. From the do

FW: Embedded Server Binary

2001-12-12 Thread sscroggin
> -Original Message- > From: Scroggin, Steve > Sent: Tuesday, December 11, 2001 8:47 AM > To: '[EMAIL PROTECTED]' > Cc: Firemon Support > Subject: Embedded Server Binary > > MySQL Representative: > > Your website states th