Update Applications.md for mysql (#10549)

* Update Applications.md for mysql

Specified for Mysql the host 127.0.0.1 useful in some specific configs. Switched also the 6 <-> 7 steps, which makes more sens because of the package install (mysqli is needed for snmp extend).
This commit is contained in:
O Palivan
2019-08-22 12:14:09 +02:00
committed by PipoCanaja
parent 2441096015
commit 259fc28b05

View File

@@ -868,21 +868,26 @@ $mysql_host = 'localhost';
$mysql_port = 3306;
```
Note that depending on your MySQL installation (chrooted install for example),
you may have to specify 127.0.0.1 instead of localhost. Localhost make
a MySQL connexion via the mysql socket, while 127.0.0.1 make a standard
IP connexion to mysql.
5: Edit your snmpd.conf file and add:
```
extend mysql /etc/snmp/mysql
```
6: Restart snmpd.
7: Install the PHP CLI language and your MySQL module of choice for
6: Install the PHP CLI language and your MySQL module of choice for
PHP.
The application should be auto-discovered as described at the top of
the page. If it is not, please follow the steps set out under `SNMP
Extend` heading top of page.
7: Restart snmpd.
# NGINX
NGINX is a free, open-source, high-performance HTTP server: <https://www.nginx.org/>