Einzelnen Beitrag anzeigen

Benutzerbild von Deltachaos
Deltachaos

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

Re: per MySQL direct komplette Datenbank lesen und speichern

  Alt 4. Mai 2008, 13:53
Ich denckemal alle tabellen eizeln da der MySQl Benutzer nicht die rechte hat eine neue Datenbank zu erstellen. sagt auf jedenfall PHPmyAdmin

Ich hab mir das etz mal durchgelesen.

Zitat:
Another technique for backing up a database is to use the mysqldump program or the mysqlhotcopy script. mysqldump is more general because it can back up all kinds of tables. mysqlhotcopy works only with some storage engines. (See Section 4.5.4, “mysqldump — A Database Backup Program”, and Section 4.6.8, “mysqlhotcopy — A Database Backup Program”.)

Create a full backup of your database:

shell> mysqldump --tab=/path/to/some/dir --opt db_name

Or:

shell> mysqlhotcopy db_name /path/to/some/dir

You can also create a binary backup simply by copying all table files (*.frm, *.MYD, and *.MYI files), as long as the server isn't updating anything. The mysqlhotcopy script uses this method. (But note that these methods do not work if your database contains InnoDB tables. InnoDB does not necessarily store table contents in database directories, and mysqlhotcopy works only for MyISAM and ISAM tables.)

For InnoDB tables, it is possible to perform an online backup that takes no locks on tables; see Section 4.5.4, “mysqldump — A Database Backup Program”.
meine Frage ist jetzt funktionirt das auch mit MySQL Direct oder besser: kann man mit MySQL direct wol jeden von der Datenbank unterstützen Befehl ausfüren?? wen ja wehre das Ja toll
Maximilian Ruta
  Mit Zitat antworten Zitat