|
3440.
|
|
|
MySQL is a fast, multi-threaded, multi-user, and robust SQL database server. It is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
|
|
|
|
MySQL ist ein schneller, robuster SQL-Datenbank-Server mit Mehrbenutzer- und Multithreading-Fähigkeit. Er ist sowohl für geschäftskritische Produktivsysteme mit hoher Auslastung als auch zum Einbinden in Endbenutzer-/Massen-Software gedacht.
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:32(para)
|
|
3441.
|
|
|
To install MySQL, run the following command from a terminal prompt:
|
|
|
|
Um MySQL zu installieren, geben Sie folgenden Befehl in eine Befehlszeile ein:
|
|
Translated and reviewed by
Daniel Schury
|
|
|
|
Located in
serverguide/C/databases.xml:41(para)
|
|
3442.
|
|
|
sudo apt-get install mysql-server
|
|
|
|
sudo apt-get install mysql-server
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:46(command)
|
|
3443.
|
|
|
During the installation process you will be prompted to enter a password for the <application>MySQL</application> root user.
|
|
|
|
Während der Installation werden Sie aufgefordert, ein Passwort für den root-Benutzer von <application>MySQL</application> einzugeben.
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:48(para)
|
|
3444.
|
|
|
Once the installation is complete, the MySQL server should be started automatically. You can run the following command from a terminal prompt to check whether the MySQL server is running:
|
|
|
|
Nach Abschluss der Installation sollte der MySQL-Server automatisch gestartet werden. Mit folgendem Befehl können Sie überprüfen, ob der MySQL-Server läuft:
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:53(para)
|
|
3445.
|
|
|
sudo netstat -tap | grep mysql
|
|
|
|
sudo netstat -tap | grep mysql
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:61(command)
|
|
3446.
|
|
|
![](/@@/translation-newline)
tcp 0 0 localhost:mysql *:* LISTEN 2556/mysqld
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
tcp 0 0 localhost:mysql *:* LISTEN 2556/mysqld
|
|
Translated and reviewed by
Daniel Schury
|
|
|
|
Located in
serverguide/C/databases.xml:70(programlisting)
|
|
3447.
|
|
|
If the server is not running correctly, you can type the following command to start it:
|
|
|
|
Wenn der Server nicht wie erwartet läuft, können Sie ihn mit folgendem Befehl starten:
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:74(para)
|
|
3448.
|
|
|
sudo /etc/init.d/mysql restart
|
|
|
|
sudo /etc/init.d/mysql restart
|
|
Translated and reviewed by
Moritz Baumann
|
|
|
|
Located in
serverguide/C/databases.xml:79(command) serverguide/C/databases.xml:104(command)
|
|
3449.
|
|
|
You can edit the <filename>/etc/mysql/my.cnf</filename> file to configure the basic settings -- log file, port number, etc. For example, to configure <application>MySQL</application> to listen for connections from network hosts, change the <emphasis>bind-address</emphasis> directive to the server's IP address:
|
|
|
|
Sie können die Datei <filename>/etc/mysql/my.cnf</filename> so bearbeiten, dass die grundlegenden Einstellungen, wie Protokolldatei, Port-Nummer usw. konfiguriert sind. Um zum Beispiel <application>MySQL</application> so zu konfigurieren, dass es Verbindungen von Rechnern im Netzwerk annimmt, ändern Sie die <emphasis>bind-address</emphasis>-Direktive entsprechend Ihrer Server-IP-Adresse:
|
|
Translated by
Dennis Baudys
|
|
Reviewed by
Hendrik Schrieber
|
|
|
|
Located in
serverguide/C/databases.xml:85(para)
|