Hi Oliver,
>>i would like to know how to run this embedded mysql together with dev-c=
++.
I've put a .zip file on my website:
http://www.subirana.de/embedded.zip
with the Dev-C++ Project file + cpp files + libraries and includes + dll
...all you need to compile and run/test embedded mysql. This Dev-C++ proj=
ect
is an adaptation of the Visual-c++ project that comes with the mysql
distribution. The libmysqld.a library works without problems with Dev-C++
(The libmysql.lib library that comes with the mysql distribution doesn't,=
so
I had to find a way to get a working one). You just have to compile the
project and run it: you should get some information about the "paro"
database, included by me for testing purposes in the "data" folder in thi=
s
.zip file, followed by a list of all the databases that embedded mysql
finds in the data folder.
It it doesn't work for you please don't hessitate to contact me again.
The normal mysql is rather though for multi-user client-server applicatio=
ns:
it runs as a separate service and has be started before you can use your =
c++
application that uses it. With EMBEDDED mysql in your dev-c++ programmes,
you don't have to start mysql before you can run your programm... mysql
doesn't even have to be installed on the machine you'll run your c++
application onto (it's already contained in your c++ programm). There are=
2
types of License for embedded mysql: the usual open source one (I think i=
t's
called GLP) and a commercial one if you don't want to realease your code
with your programms (please see: www.mysql.org)
An alternative to embedded mysql is: sqlite --> also an embedded database=
,
but mysql is the preferred database worldwide and can do a lot more thing=
s
than sqlite!
-----Urspr=FCngliche Nachricht-----
Von: Oliver Rogasch [mailto:o.r...@gm...]
Gesendet: Dienstag, 9. M=E4rz 2004 17:11
An: Josep Subirana
Betreff: Re: [Dev-C++] How to get application directory?
Hello Joseph,
i would like to know how to run this embedded mysql together with dev-c++=
.
Thx Oliver Rogasch
|