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 [15.05.2015 17:31] – [2. Konvertieren der *.sql Datei] Manuela v.d.Deckenen: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, yetPlease help completing the translation.**\\ //(remove this paragraph once the translation is finished)//+===== Usage and application of the SQL dump converter ===== 
 +==== 1. Create a structure file using phpMyAdmin ==== 
 + 
 +   - Start phpMyAdmin and open the required database. 
 +   - Click on the Menu bar, click **Export**. A screen similar to the following one appears. 
 +   - Select **all** the required tables of your addons. 
 +   - Choose all other settings appropriately according to the template. 
 +   - Start the download by clicking on the **OK** button at the bottom. 
 +   - Save the received *.sql file on your computer.
  
-===== Benutzung und Einsatz des SQL-Dump-Konverters ===== 
-==== 1. Erstellen einer Strukturdatei mittels 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. 
-  - Wählen Sie **alle** benötigten Tabellen Ihres Addons aus. 
-  - Machen Sie alle weiteren Einstellungen sinngemäß der Vorlage. 
-  - Starten sie den Download durch Klick auf den **OK**-Button ganz unten. 
-  - Speichern Sie die empfangene *.sql Datei auf Ihrem Rechner ab. 
 {{ :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 EingemachteAus dem Dump mit viel Handarbeit sehr viele Zeilen schöne PHP-SQL Statements bastelndie dann einzeln zum Server gesendet werden.\\ + 
-Das ist uns zu umständlichdeshalb machen wir das 'etwaseinfacher:+Normally at this point you really have to do some hard workStarting from the dump you have to write a lot of lines of beautiful PHP SQL statements by handwhich are then sent individually to the server.\\ 
 +That's too cumbersome for usso we do that 'a biteasier: 
 + 
 +   - 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 ConcernedNeither 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 BesorgtenEs 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 istkopiert werdenDer 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 schreibenaber DAS war es bereitsMehr gibt es nicht zu tun.+I'd like to write morebut THAT was already allThere 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.1431711086.txt.gz · Last modified: 03.06.2015 15:55 (external edit)