Cannot run second Embedded Server instance for a single data

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dejestiny2
Posts: 4
Joined: Tue 14 Oct 2008 10:28

Cannot run second Embedded Server instance for a single data

Post by dejestiny2 » Fri 17 Oct 2008 09:36

Hallo, i need run 2 instances of same application on same embedded database. But, when i run secound application a try connect i get following error message: Cannot run second Embedded Server instance for a single data...

It possible access to same database form multiple instance of same application?

Please help :(

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 17 Oct 2008 11:16


dejestiny2
Posts: 4
Joined: Tue 14 Oct 2008 10:28

Post by dejestiny2 » Sat 18 Oct 2008 09:56

Maybe i have a solution. This works fine for me. If i run multiple instances of a same application from a same application directory so i get error " Cannot run second Embedded Server instance for a single data... ". But, when i create a copy of the application directory and then run first instance from the original directory and than run second instance from the copy of the directory so all work fine - no errors(every copy of the application directory has own copy of a libmysqld.dll)

Can i use this solution? Thanks

Post Reply