MySQL installieren (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Installation == <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"…“)
 
Zeile 10: Zeile 10:


== Netzwerkzugriff ==
== Netzwerkzugriff ==
Um auch von einem anderem Rechner auf die Datenbank zugreifen zu können, muss noch <code>bind-address = 127.0.0.1</code> noch die Ip-Adresse der Netzwerkschnittstelle umgestellt werden:
Um auch von einem anderem Rechner auf die Datenbank zugreifen zu können, muss noch <code>bind-address = 127.0.0.1</code> auf die IP-Adresse der Netzwerkschnittstelle umgestellt werden:
<pre style="white-space: pre-wrap;  
<pre style="white-space: pre-wrap;  
white-space: -moz-pre-wrap;  
white-space: -moz-pre-wrap;  
Zeile 18: Zeile 18:
# Instead of skip-networking the default is now to listen only on
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
# localhost which is more compatible and is not less secure.
bind-address            = <static IP address of network interface>
bind-address            = <static IP address>
</pre>
</pre>

Version vom 9. März 2016, 23:29 Uhr

Installation

sudo apt-get install mysql-server
sudo apt-get install php5-mysql

Netzwerkzugriff

Um auch von einem anderem Rechner auf die Datenbank zugreifen zu können, muss noch bind-address = 127.0.0.1 auf die IP-Adresse der Netzwerkschnittstelle umgestellt werden:

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address            = <static IP address>