embedded mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

embedded mysql

Post by sutejok »

can anyone tell me where can i find detailed how-to for the embedded mysql?

thx alott
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

stupid question, maybe.. how-to what?
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post by sutejok »

erm how do i use that....?
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

they are probably macros... look/search through the header files..
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post by sutejok »

what do i look for?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

either of those names.. either with function declaration, or #define in front of them.
User avatar
sutejok
Forum Commoner
Posts: 37
Joined: Wed Mar 24, 2004 4:08 pm

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply