Page 1 of 1
embedded mysql
Posted: Wed Jun 30, 2004 10:31 pm
by sutejok
can anyone tell me where can i find detailed how-to for the embedded mysql?
thx alott
Posted: Wed Jun 30, 2004 10:35 pm
by feyd
stupid question, maybe.. how-to what?
Posted: Thu Jul 01, 2004 12:49 am
by sutejok
erm how do i use that....?
Posted: Thu Jul 01, 2004 10:31 pm
by sutejok
Ok, i was able to get the mysql++ thingy working. Now i'm trying to get embedded mysql to work.
this is what i did:
-I copied the .lib files from the embedded directory to my visual c++ lib directory
-I copied the includes files into the include dir of VC++
-I include mysql.h in the project
-I added libmysqld.lib into the 'linking' section of the project
-I compiled everything
and here's what i got:
error C2065: 'mysql_server_init' : undeclared identifier
error C2065: 'mysql_server_end' : undeclared identifier
anyone knows where are those two functions? is there anything that i forgot to do..?
thxx
Posted: Thu Jul 01, 2004 10:42 pm
by feyd
they are probably macros... look/search through the header files..
Posted: Thu Jul 01, 2004 10:50 pm
by sutejok
what do i look for?
Posted: Thu Jul 01, 2004 10:51 pm
by feyd
either of those names.. either with function declaration, or #define in front of them.
Posted: Thu Jul 01, 2004 10:52 pm
by sutejok
btw, am i on the right track here? am i doing what i am supposed to do to install it?
also, by using embedded version of mysql, does that mean that dont need to have a mysql server running in the comp?
thxx
Posted: Thu Jul 01, 2004 11:05 pm
by feyd
I haven't run or installed or even read much on it, so I'd guess that the server is entirely run internal to your application.