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-06 Thread Steven Webb
cchar *user="", cchar *passwd="") > > 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 >

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

2002-11-06 Thread Steven Webb
not work then you must see in > the source why. > Why do you link against libmysqld when you nee > libmysql functionality? > > Bernhard > > - Original Message - > From: "Steven Webb" <[EMAIL PROTECTED]> > To: "Mysql list" <[EMAIL PR

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 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 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 when trying to connect to a remote

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

Using the embedded mysql server - how do I create a database on the fly?

2002-10-23 Thread Steven Webb
Hello. I'm just getting started with the embedded mysql server and I'm not trying to do anything fancy. I just want to initialize the server and call "mysql_create_db" and have the database get created and then start using it. I've modified the basic "embedded server" example as follows: mysq