Page 1 of 1

Error when open the TMyTable

Posted: Mon 24 Oct 2005 03:32
by ManUtd
We use MyDAC Versopm 4 connection to MySQL 4.1

At design time, I set the TMyTable Active to True and got the error:
"A call to an mysql_server_init failed.
C:\Temp\EmbedExperiment|data\ibdata1 - The file exisits
C:\Temp\EmbedExperiment|data\ib_logfile0 - The file exisits"

I copied these files from the MySQL Server data directory. Should I ?

Posted: Mon 24 Oct 2005 12:59
by Ikar
Most possible, you connect to one datafolder from two different instances of embedded server. These are probably connections from Delphi IDE (design-time) and your application (run-time).

Posted: Wed 26 Oct 2005 01:17
by ManUtd
>>Most possible, you connect to one datafolder from two different instances of embedded server.<<

What is this mean ?

Re: Error when open the TMyTable

Posted: Wed 26 Oct 2005 04:08
by alec
ManUtd wrote:C:\Temp\EmbedExperiment|data\ibdata1 - The file exisits
C:\Temp\EmbedExperiment|data\ib_logfile0 - The file exisits"
Symbol '|' not valid for windows filesystems.

Posted: Thu 27 Oct 2005 06:29
by Ikar
You run one application twice or more, or connect to server in design-time too.