Hi Listy,
   If you define your database with "host": "localhost", then Kea should connect
through the default MySQL unix socket:

The connection to MySQL databases are made with a call to the MySQL C client library API function mysql_real_connect() in src/lib/mysql/mysql_connection.cc

According to the MySQL documentation:
https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-connect.html
---PASTE--
The value of host may be either a host name or an IP address. The client attempts to connect as follows: If host is NULL or the string "localhost", a connection to the local host is assumed: On Windows, the client connects using a shared-memory connection, if the server has shared-memory connections enabled. On Unix, the client connects using a Unix socket file. The unix_socket argument or the MYSQL_UNIX_PORT environment variable may be used to specify the socket name.
---PASTE---

Kind Regards Peter

--
Peter Davies
Support Engineer
Internet Systems Corporation

--
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to