Hi All
I am trying to port my MySQL code on HP-UX, and am anuable to link my code
as I am getting the standard functions like mysql_query(),
mysql_store_result() etc as undefined. I am currently linking my code with
libmysqlclient_r.a. Do I need any other library to be linked as well??
--
What happens if I use the C API of MySQL and the process dies (maybe a
pointer error or something)?
a)Will the connection be killed automatically?
b)What about "LOCK TABLES" and similar statements that were issued ... will
the locks clear automatically?
Thanks.
Hi,
this is 4.0.23 embedded.
If the datadir defined in my.cnf does not exist:
050303 17:48:04 bdb: /home/vdr/mysql/log.01: No such file or directory
050303 17:48:04 bdb: PANIC: No such file or directory
050303 17:48:04 Can't init databases
it should return an error condition instead o
I have the call to mysql_server_init() cided exactly as it appears in
the mysql manual sample. It returns 0 (success), yet the server is never
sarted . I check that its not running by trying to type in the mysql
command line (I had started the server normally before, started mysql,
shutdown the
*two;
mysql_server_init(argc, argv, (char **)server_groups);
one = db_connect("hello");
two = db_connect(NULL);
db_do_query(one, "SHOW TABLE STATUS");
db_do_query(two, "SHOW DATABASES");
mysql_close(two);
mysql_close(one);
/* This must be called after all other my
Hi,
- Original Message -
From: "Derick Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 9:09 PM
Subject: Re: HELP mysql_server_init embedded in a DLL?
> Attempts at creating an embedded mySQL DLL for
application.
I tried hard coding the arguments and servergroups for mysql_server_init (I
also used memset to initialize the strings to 0), I get the same result.
The lib I create will always work with a C program, but the DLL will not
work with VB.
Does anyone have any more suggestions on how to use
Hi,
- Original Message -
From: "Derick Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 10:33 PM
Subject: Re: HELP mysql_server_init embedded in a DLL?
> I am posting this again, in hope that I w
I am posting this again, in hope that I will get a response.
I tried doing the following (see VB code below. I got this code from another
site):
I get the same error message as if I was calling the DLL I created in C
which calls mysql_server_init.
Is it impossible to call this function from
Hi!
I am trying to create a DLL that will hide embedded mySQL functions for use
with VB. I am using mysqlserver.lib. I am able to compile and execute the
following code. This has to be done in C because VB is too slow :-(
If mysql_server_init function is run in the DLL from Visual Basic. I get
nal Message -
From: "Tobias Eriksson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 4:15 PM
Subject: Where is mysql_server_init defined ?
Hi,
I'm trying to figure out how to implement an embedded mySQL database in
my application, but seems
Hi,
I'm trying to figure out how to implement an embedded mySQL database in
my application, but seems to have stumbled on something strange. The
documentation and on the web everyone seems to refer to a
method/function called 'mysql_server_init()' however, my compiler
complaine
12 matches
Mail list logo