AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Delphi You have an error in your SQL syntax; 'shell> mysqldump --op
Thema durchsuchen
Ansicht
Themen-Optionen

You have an error in your SQL syntax; 'shell> mysqldump --op

Ein Thema von Deltachaos · begonnen am 4. Mai 2008 · letzter Beitrag vom 6. Mai 2008
 
Benutzerbild von Deltachaos
Deltachaos

Registriert seit: 20. Feb 2008
Ort: Berlin
195 Beiträge
 
Delphi 7 Personal
 
#1

You have an error in your SQL syntax; 'shell> mysqldump -

  Alt 4. Mai 2008, 20:15
Datenbank: MySQL • Version: k.p. • Zugriff über: MySQL direct
Ich wollte per Delphi ein Backup machen aber es erscheint die Meldung (ich benutze MySQL direct):

Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'shell> mysqldump --opt db67713x724842 > bak.sql' at line 1
Code:
Delphi-Quellcode:
begin
  form1.FMysql.query('shell> mysqldump --opt db67713x724842 > bak.sql', true, ex);
    if ex then
    begin
      log.WriteString(inttostr(day)+'.'+inttostr(month)+'.'+inttostr(Year), inttostr(hour) +':'+ inttostr(min) +':'+ inttostr(sec), 'OK!');
      dos('['+ inttostr(hour) +':'+ inttostr(min) +':'+ inttostr(sec) +'] OK!', 60);
    end
    else
    begin
      log.WriteString(inttostr(day)+'.'+inttostr(month)+'.'+inttostr(Year), inttostr(hour) +':'+ inttostr(min) +':'+ inttostr(sec), FMysql.LastError);
      dos('['+ inttostr(hour) +':'+ inttostr(min) +':'+ inttostr(sec) +'] '+FMysql.LastError, 60);
    end;
end;
Ich kann Tabellen erstellen. also kann es ja nicht an der Verbindung liegen.
Maximilian Ruta
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:45 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz