User Tools

Site Tools


en:dev:all:devtools:manual-sqlconvert

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dev:all:devtools:manual-sqlconvert [29.07.2015 19:24] – [Benutzung und Einsatz des SQL-Dump-Konverters] translated headline mrbasemanen:dev:all:devtools:manual-sqlconvert [29.01.2016 09:49] (current) – [3. Integrating the structure file (up to 2.8.4 only)] Manuela v.d.Decken
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
- 
 ===== Usage and application of the SQL dump converter ===== ===== Usage and application of the SQL dump converter =====
-==== 1. Erstellen einer Strukturdatei mittels phpMyAdmin ==== +==== 1. Create a structure file using phpMyAdmin ==== 
-  - Starten Sie phpMyAdmin und öffnen Sie die benötigte Datenbank. + 
-  - Klicken Sie oben in der Menüleiste auf **Exportieren**. Es erscheint dann ein Bildschirm ähnlich dem folgenden. +   - Start phpMyAdmin and open the required database. 
-  - Wählen Sie **alle** benötigten Tabellen Ihres Addons aus. +   - Click on the Menu bar, click **Export**. A screen similar to the following one appears. 
-  - Machen Sie alle weiteren Einstellungen sinngemäß der Vorlage. +   - Select **all** the required tables of your addons. 
-  - Starten sie den Download durch Klick auf den **OK**-Button ganz unten. +   - Choose all other settings appropriately according to the template. 
-  - Speichern Sie die empfangene *.sql Datei auf Ihrem Rechner ab.+   - Start the download by clicking on the **OK** button at the bottom. 
 +   - Save the received *.sql file on your computer. 
 {{ :dev:all:exportstructwith-phpmyadmin.gif?nolink |}} {{ :dev:all:exportstructwith-phpmyadmin.gif?nolink |}}
-==== 2. Konvertieren der *.sql Datei ==== +==== 2. Converting the *.sql file ==== 
-Normalerweise geht es jetzt an's Eingemachte. Aus dem Dump mit viel Handarbeit sehr viele Zeilen schöne PHP-SQL Statements basteln, die dann einzeln zum Server gesendet werden.\\ + 
-Das ist uns zu umständlich, deshalb machen wir das 'etwas' einfacher:+Normally at this point you really have to do some hard work. Starting from the dump you have to write a lot of lines of beautiful PHP SQL statements by hand, which are then sent individually to the server.\\ 
 +That's too cumbersome for us, so we do that 'a bit' easier: 
 + 
 +   - First the converter is started by clicking on this link: [[http://isteasy.de/otools/ConvertDump/?b=a20zw3|SQL-Dump-Konverter]]. 
 +   - Once the converter is started, **Browse** to the newly created dump file and select it. 
 +   - Possibly even customize the prefix of the tables to those used in the source database. 
 +   - If no other special requests are made: click **Start Conversion**. 
 +   - after a few moments, the converted file is already available for download. 
 +   - The store newly created file on your computer, and that's it.
  
-  - Erst einmal wird der Konverter gestartet, indem dieser Link [[http://isteasy.de/otools/ConvertDump/?b=a20zw3|SQL-Dump-Konverter]] angeklickt wird. +//(To reassure about privacy Concerned: Neither the source nor the target file are stored on the server.)//
-  - Nachdem der Konverter gestartet ist, mit **Durchsuchen** die soeben erzeugte Dump-Datei auswählen. +
-  - Eventuell noch den Präfix der Tabellen an den in der Ursprungs-Datenbank benutzten anpassen. +
-  - Falls keine weiteren Sonderwünsche bestehen: **Konvertierung starten** anklicken. +
-  - nach wenigen Augenblicken wird die konvertierte Datei bereits zum Download angeboten. +
-  - Die neu erzeugte Datei auf dem Rechner speichern, fertig. +
-//(Zu Beruhigung der um den Datenschutz Besorgten: Es wird weder die Quell- noch die Zieldatei auf dem Server gespeichert.)//+
  
 {{ :dev:all:sqldumpconverter.en.gif?nolink |}} {{ :dev:all:sqldumpconverter.en.gif?nolink |}}
  
-==== 3. Einbinden der Strukturdatei (up to 2.8.4 only) ==== +==== 3. Integrating the structure file (from 2.8.4 only) ==== 
-Nichts einfacher als das.\\ +Nothing easier than that.\\ 
-Dazu muss einfach nur die install-struct.sql in das Hauptverzeichnis des Addons (dort wo auch die install.php zu finden ist) kopiert werden. Der nachfolgende Code zeigt die Einbindung in die Dateien //install.php//, //uninstall.php// und //upgrade.php// eines Addons.+The only thing one needs to do is to copy the install-struct.sql into the root directory of the addon (where also install.php can be found). The code below shows the integration of the files //install.php//, //uninstall.php//, and //upgrade.php// into an addon.
  
 <code php install-upgrade.php> <code php install-upgrade.php>
Line 84: Line 86:
 </code> </code>
  
-Ich würde dazu gerne noch mehr schreiben, aber DAS war es bereits. Mehr gibt es nicht zu tun.+I'd like to write more, but THAT was already all. There is nothing more to do.
  
-PS: das obige Codebeispiel kann durch simples anklicken des Labels auch heruntergeladen werden....\\+PS: the above code sample can also be downloaded by simply clicking on the label....\\
  --- //[[manuela@isteam.de|Manuela v.d.Decken]]  08.09.2014//  --- //[[manuela@isteam.de|Manuela v.d.Decken]]  08.09.2014//
 ---- ----
  
en/dev/all/devtools/manual-sqlconvert.1438197857.txt.gz · Last modified: 29.07.2015 19:24 by mrbaseman