MyDAC

TMyEmbConnection.DataDir Property

Used to set the path to the data directory.

Class

TMyEmbConnection

Syntax

property DataDir: string stored False;

Remarks

Use the DataDir property to set the path to the data directory. Corresponds to --datadir parameter. See MySQL Reference Manual for a detailed description.

The default value is 'data' and all data files must be in the subfolder data by the path specified in BaseDir.

It is convenient to use this property for cases when the program is started from ReadOnly data carrier (CD-ROM, network etc). Also its usage can be suitable to separate data of different users.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback