Ver Mensaje Individual
  #4  
Antiguo 24-03-2017
CrazySoft CrazySoft is offline
Miembro
 
Registrado: abr 2005
Posts: 96
Reputación: 20
CrazySoft Va por buen camino
Puedes utilizar MySQL de manera embebida sin tener que instalar mysql con el componente Zeos, solo necesitas copiar algunas carpetas de mysql (bin,data(mysql,TuBase),share) y dll (libmysqld.dll) en el directorio de trabajo y configurando de la siguiente manera, tus tablas deben ser myisam

Código Delphi [-]
    with ZConnection1 do
    try
      Disconnect;
      Properties.Add('compress=yes');
      Properties.Add('dbless=no');
      Properties.Add('useresult=no');
      Properties.Add('timeout=30');
      Properties.Add('ServerArgument1=--basedir=./');
      Properties.Add('ServerArgument2=--datadir=./data');
      Properties.Add('ServerArgument3=--character-sets-dir=./share/charsets');
      Properties.Add('ServerArgument5=--skip-innodb');
      Properties.Add('ServerArgument6=--key_buffer_size=32M');
      DataBase := 'TuBase';
      Protocol := 'mysqld-5';
      Port := 0;
      Connected := True;
    except

    end;
Responder Con Cita