need help for Embedded MySQL with C++Builder 6

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
tjoule
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 24.05.2010, 15:24

need help for Embedded MySQL with C++Builder 6

Post by tjoule »

Hi
I'm using C++Builder 6 with zeoslib 6.6.6, with MySQL(mysql-noinstall-5.1.48-win32.zip). I can connect to a normal MySQL Server by using libmysql.dll, but when I try to connect as Embedded MySQL by using libmysqld.dll, setting ZConnection Properties as follow
--------------------
compress=yes
dbless=no
useresult=no
timeout=30
ServerArgument1=--basedir=./
ServerArgument2=--datadir=./data
ServerArgument3=--character-sets-dir=./share/charsets
ServerArgument4=--language=./share/english
ServerArgument5=--skip-innodb
ServerArgument6=--key_buffer_size=32M
--------------------
I copy data from "ZEOSDBO-6.6.6-stable\examples\embedded\data" to my Project Directory(J:\PastaOne) when I change ZConnection.Connected to "true" I still cannot see any database that I had copied. So I change ZConnection->Connected="true" on runtime but it raise another error(see attached file).

Thank you for anyone that would be participated
You do not have the required permissions to view the files attached to this post.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Did you also copy the 'share' folder included with your libmysqld.dll version? Attention, the version is important. So don't mix dll and share folders from different mysql versions.

Did you read the MySQL.Readme1st.txt file from the embedded example?

Mark
Image
Post Reply