diff --git a/docs/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Setting-up-PJSIP-Realtime.md b/docs/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Setting-up-PJSIP-Realtime.md index 3fb18eb564..2ec558d8e2 100644 --- a/docs/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Setting-up-PJSIP-Realtime.md +++ b/docs/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Setting-up-PJSIP-Realtime.md @@ -164,7 +164,7 @@ Next, we'll tell ODBC **which** MySQL database to use. To do this, we'll edit t [asterisk] Driver = MySQL Description = MySQL connection to ‘asterisk’ database -Server = localhost +Servername = localhost Port = 3306 Database = asterisk UserName = root @@ -173,7 +173,10 @@ Socket = /var/run/mysqld/mysqld.sock ``` -Take care to use your database access UserName and Password, and not necessarily what's defined in this example. +Keep in mind that the `Servername` parameter should not be confused with `Server` that is invalid. + +!!!note + Take care to use your database access UserName and Password, and not necessarily what's defined in this example. Now, we need to configure Asterisk's ODBC resource, res_odbc, to connect to the ODBC **asterisk** database handle that we just created. res_odbc is configured using the */etc/asterisk/res_odbc.conf** configuration file. There, you'll want: diff --git a/docs/Configuration/Interfaces/Back-end-Database-and-Realtime-Connectivity/ODBC/Getting-Asterisk-Connected-to-MySQL-via-ODBC.md b/docs/Configuration/Interfaces/Back-end-Database-and-Realtime-Connectivity/ODBC/Getting-Asterisk-Connected-to-MySQL-via-ODBC.md index e4c48091d8..f7b6d6e9b8 100644 --- a/docs/Configuration/Interfaces/Back-end-Database-and-Realtime-Connectivity/ODBC/Getting-Asterisk-Connected-to-MySQL-via-ODBC.md +++ b/docs/Configuration/Interfaces/Back-end-Database-and-Realtime-Connectivity/ODBC/Getting-Asterisk-Connected-to-MySQL-via-ODBC.md @@ -128,13 +128,15 @@ Add the following to /etc/odbc.ini Description = MySQL connection to 'asterisk' database Driver = MariaDB Database = asterisk -Server = localhost +Servername = localhost Port = 3306 Socket = /var/lib/mysql/mysql.sock ``` +!!! note + Keep in mind that the `Servername` parameter should not be confused with `Server` that is invalid. !!! note You may want to verify that mysql.sock is actually in the location specific here. It will differ on some systems depending on your configuration.