my.ini location for embedded

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
alec

my.ini location for embedded

Post by alec » Thu 13 Jan 2005 12:30

How I can specified location of my.ini file (using option --defaults-file=LOCATION) with embedded server?
If end-user has no Administrator rights, than he hasn't access to windows folder.
Thank you.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: my.ini location for embedded

Post by Ikar » Mon 17 Jan 2005 09:54

Now MyDAC doesn't provide this functionality.
We are planning to add extended support of Embedded Server but not at the nearest time.

mvalent
Posts: 62
Joined: Thu 04 Nov 2004 17:42

Post by mvalent » Mon 21 Mar 2005 09:14

Any news about this topic ?
Is the extented support of embedded emplemented ?

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 21 Mar 2005 10:18

We are working on it now.

alec

Post by alec » Fri 25 Mar 2005 04:19

It will be cool! Core Lab MyDac the best!

Nuno

my.ini location for embedded

Post by Nuno » Sat 28 May 2005 18:47

Is this already possible? thx!

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 30 May 2005 08:51

This week we are planning to release public beta with new component TMyEmbConnection. Its using will allow to refuse from ini-file at all.

Guest

Post by Guest » Mon 30 May 2005 21:26

glad to ear that it's coming soon. thx!

alec

Post by alec » Tue 31 May 2005 02:46

Good news! It will be best alternative for different local database engines.
One more small trouble with embedded:
File [host].err is created in 'data' folder after initializing embedded server. This file contains lines:
"[Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them"
Do know anybody how to disable this warning. It's not problem, but it's nag.
(File [host].err is not created if I lock writing permission for 'data' folder (CD emulation :) and program works normally).
Thank you.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 31 May 2005 09:26

TMyEmbConnection will have OnLog and OnErrorLog events which will be called instead of output to the file.

easyblue
Posts: 64
Joined: Wed 02 Feb 2005 13:02
Location: Shanghai

flexibility still kept?

Post by easyblue » Wed 01 Jun 2005 01:44

Hello

With this new component introduced, will the MyDac flexiblity still kept?

Currently my tool can simply switch between C/S and embedded easily, and all the TMyTable etc do not need to be touched during switch.

With this new component, if I make switch, should I also need to change all the connection of each TMyTable and TMyQuery?

Could it be a new member of the current TMyConnection, and used when embedded is set to True? Just as how TMyTable uses TMyConnection in design mode, so we can have the minimal change for programming and maximum flexibility for switching?

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Thu 02 Jun 2005 07:43

You can still use old functionality of TMyConnection.Options.Embedded but new features for TMyConnection are not available.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 06 Jun 2005 13:12

New build was released and you can download it (4.00.0.1 Beta) now from Core Lab server.
For more details about different reasons of this error occurrence please see http://crlab.com/forums/viewtopic.php?t=1359

alec

Post by alec » Tue 07 Jun 2005 03:09

Can you make MyDAC 4 beta for C++Builder6?
Thank you.

Nuno

Post by Nuno » Tue 07 Jun 2005 12:32

and if possible for delphi 6

Post Reply