title: How to embed MySQL (libmysqld.dll) using Delphi ZEOS
body: <p>I'm trying to use embedded mysql database using libmysqld.dll (mysql 5.1) with zeos (7.0.3) in Delphi XE<br/>
  i put libmysqld.dll in the same directory, <br/>
  folder language\errmsg.sys<br/>
  folder data\belajar\biodata.frm,biodata.MYD,biodata.MYI,db.opt</p>
  
  <pre><code>unit Unit1;
  
  interface
  
  uses
    Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    Dialogs, StdCtrls, ZAbstractConnection, ZConnection;
  
  type
    TForm1 = class(TForm)
      Button1: TButton;
      ZCon: TZConnection;
      procedure Button1Click(Sender: TObject);
    private
      { Private declarations }
    public
      { Public declarations }
    end;
  
  var
    Form1: TForm1;
  
  implementation
  
  {$R *.dfm}
  
  procedure TForm1.Button1Click(Sender: TObject);
  begin
         ZCon.Protocol := 'mysqld-5';
         zcon.Database := 'belajar';
         zcon.Connect;
  end;
  
  end.
  </code></pre>
  
  <p>When i run the code, click the button1 and then it just closed, no error message, the application terminated.</p>
  
  <p>any help?</p>
  
  <hr>
  
  <h2>update:</h2>
  
  <p>i have solved this problem, i put the wrong name and version of "language" folder, it should be "share" folder and errmsg.sys in the english subfolder</p>
  
  <p>thankyou everyone</p>