How use MyEmbConnection

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kamrava
Posts: 9
Joined: Thu 10 May 2012 12:42

How use MyEmbConnection

Post by kamrava » Fri 03 Aug 2012 20:58

Hello

I want to use MyEmbConnection. (I'm using Delphi XE2 And MyDac)
Please tell me how can i use it.Please explain clearly because i'm new on it.
Assume have following Data :
C:\MyAppFolder\App.exe
C:\MyAppFolder\mydb.sql

How can i connect to mydb.sql by MyEmbConnection?

Thank You

kamrava
Posts: 9
Joined: Thu 10 May 2012 12:42

Re: How use MyEmbConnection

Post by kamrava » Sun 05 Aug 2012 07:23

Anybody is here ?

I need help...

AndreyZ

Re: How use MyEmbConnection

Post by AndreyZ » Mon 06 Aug 2012 08:20

Hello,

I have sent you a project (to the e-mail address specified in your account) that demonstrates working with MySQL Embedded. Also, you can find the detailed information about working with MySQL Embedded in the "Embedded Server" article of the MyDAC documentation.

kamrava
Posts: 9
Joined: Thu 10 May 2012 12:42

Re: How use MyEmbConnection

Post by kamrava » Fri 17 Aug 2012 07:53

Thank You AndreyZ i got that.
Sorry my English not good;
New Question :

When i Create Table in Runtime , Some files created Namely (dept.frm , dept.MYD , dept.MYI);
How can i do BackUp from that files ?

Regards

AndreyZ

Re: How use MyEmbConnection

Post by AndreyZ » Fri 17 Aug 2012 08:56

To make a backup of a database, we suggest you to use the TMyDump component. TMyDump creates a SQL script that contains the structure of the tables and theirs data. For more information about TMyDump, please read the MyDAC documentation.

Post Reply