[Kea-users] MySQL DB does not work when "lease-database" is set

Kevin Olbrich ko at sv01.de
Sun Mar 18 22:02:57 UTC 2018


Hi,

I set the following as my lease-db:

  "lease-database": {
    "type": "mysql",
    "name": "dc_dhcp",
    "host": "192.168.30.2",
    "user": "dc_dhcp",
    "password": "xxxxxxxxxxxxxx"
#        "type": "memfile",
#        "persist": true,
#        "name": "/tmp/kea-leases4.csv",
#        "lfc-interval": 1800
  },

If I use MySQL, no lease is ever created. The server also never answers any
DHCP request.

Changing from mysql to memfile (commented out code above), everything works
fine.
No error is logged, "it just dont work" with mysql.

root at dhcp01:~# kea-dhcp4 -v
1.1.0

Debian Stretch, main repo.

Is this a known issue?

Kind regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20180318/cee99678/attachment.htm>


More information about the Kea-users mailing list