Detect if embedded database already running

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rahucha
Posts: 24
Joined: Tue 18 Nov 2014 09:52

Detect if embedded database already running

Post by rahucha » Thu 27 Nov 2014 07:28

Hi,

When working with embedded database, is there any function/property to know there is an instance of the database in memory? So, I don't get the exception message saying "Cannot run second Embedded server instance....."

Thanks!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Detect if embedded database already running

Post by ViktorV » Fri 28 Nov 2014 12:47

Unfortunately, MySQL Embedded server doesn't allow to detect whether an Embedded server instance is running.

Post Reply