Page 1 of 1

How use MyEmbConnection

Posted: Fri 03 Aug 2012 20:58
by kamrava
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

Re: How use MyEmbConnection

Posted: Sun 05 Aug 2012 07:23
by kamrava
Anybody is here ?

I need help...

Re: How use MyEmbConnection

Posted: Mon 06 Aug 2012 08:20
by AndreyZ
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.

Re: How use MyEmbConnection

Posted: Fri 17 Aug 2012 07:53
by kamrava
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

Re: How use MyEmbConnection

Posted: Fri 17 Aug 2012 08:56
by AndreyZ
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.