Hi I´m trying to setup a embeded conection using a trial version of dac , the conection works just fine and mysqltable make the access to the tables without trouble , but whem I compile the project at Builder c++ 6 it gives me the folowing messages .
" Project XXX.exe raised exception class EOSError with message 'System error. Code 183 not possible to create a file that already exists "
whem a step over this point
the following error ocurs
" Cannot run second embedded server instance for single data folder"
The strange part is that there´s only ONE instance of the server in the project
I configured my project folder lik this :
-put the libmysqld.dll in it;
-copyed the mysql data folder in there;
-copyed the mysql share folder in there ;
Trouble with myembconection
If you set MyEmbConnection.Connected to True in design time, Delphi loads libmysqld.dll into the memory. This library stays loaded even if you close the project which uses it. When Delphi is being closed all its resources are being freed including this libmysqld.dll. Try to restart IDE, open project with embedded server, run this project. MyEmbConnection.Connected property mustn't be set to True in design time at all.