====== MySQL vorbereiten ======
Some users may already have Einige Benutzer haben vielleicht schon MySQL installed or may not know if they do or notinstalliert oder wissen nicht, ob sie es haben oder nicht. Try installing it by typing the below Versuche, es zu installieren, indem du den folgenden Text in the a linux terminalein Linux-Terminal eingibst:
<code>$ sudo apt-get install mysql-server</code>
That will either install Dadurch wird entweder MySQLinstalliert, or if it is already installedoder wenn es bereits installiert ist, it won't cause any harmwird es keinen Schaden anrichten.
The same is true with the Das Gleiche gilt für die xBase DBI connectors-Konnektoren, some users may already have them installeddie bei einigen Benutzern bereits installiert sind. The following command in terminal will install it for those who don'tDer folgende Befehl im Terminal installiert sie für diejenigen, while those who already do have it will not be affecteddie sie nicht haben, während diejenigen, die sie bereits haben, nicht betroffen sind:
<code>$ sudo apt-get install libdbd-xbase-perl</code>
Now, enter Gib nun MySQLein. If you previously installed Wenn du MySQL you may or may not need a password to get into itbereits installiert hast, brauchst du eventuell ein Passwort, um dich einzuloggen. If no password is requiredWenn kein Kennwort erforderlich ist, users should be able to login to sollten sich die Benutzer bei MySQL just by typing this at the command promptanmelden können, indem sie dies in die Eingabeaufforderung eingeben:
<code>$ mysql -u root</code>
If that worksWenn das funktioniert, users can skip this next stepkönnen die Benutzer diesen nächsten Schritt überspringen. But if a password is requiredWenn jedoch ein Kennwort erforderlich ist, this should be typed in terminal insteadsollte dieses stattdessen im Terminal eingegeben werden:
<code>$ mysql -u root -p</code>
You will now be Du befindest dich nun in MySQL. It is possible that users attempting to use Es ist möglich, dass Benutzer, die tmg2gramps before may have already created a schon einmal benutzt haben, bereits eine MySQL database for this purpose-Datenbank für diesen Zweck angelegt haben. To check and see which databases are thereUm zu überprüfen, welche Datenbanken vorhanden sind, type this at the promptgib dies an der Eingabeaufforderung ein:
<code>mysql> show databases;</code>
That will display which databases Dies zeigt an, welche Datenbanken (if anyfalls vorhanden) already existbereits existieren. If there is no database for running Wenn es keine Datenbank für die Ausführung von tmg2grampsgibt, one can easily be created kann eine solche leicht erstellt werden (for our purposes, called für unsere Zwecke mit dem Namen <code>tmg_gramps</code>) by typing this at the , indem du dies an der mysql prompt-Eingabeaufforderung eingibst:
<code>mysql> create database tmg_gramps;</code>
NowVergewissere dich nun, make sure that you can connect to the database with the appropriate password and privileges by typingdass du mit dem entsprechenden Passwort und den entsprechenden Rechten eine Verbindung zur Datenbank herstellen kannst, indem du eingibst:
<code>mysql> grant all privileges on tmg_gramps.* to grampsuser@localhost identified by 'grampspass';</code>
You can now exit Du kannst nun MySQLbeenden:
<code>mysql> exit</code>
====== Preparation for the Vorbereitung für das Skript tmg2gramps script ======
...and prepare to run tmg2gramps. Make sure that you know the original name of your TMG project that you are going to convert. To check this, in terminal, navigate to the '<code>tmgdata</code>' directory which should be in your home folder. Once there, simply type this at the terminal to see a list of the files inside: