[Kea-users] MySQL Error
Marcin Siodelski
marcin at isc.org
Fri May 29 08:59:43 UTC 2020
Hello David,
Thanks for using Kea and reporting your issue. Looking at the
configuration snippet you provided it seems you didn't provide a name
for the lease database. Perhaps you intended to use the memfile (rather
than mysql) lease backend?
Kind Regards,
Marcin Siodelski
Sr. Software Engineer
ISC
W dniu 29.05.2020 o 10:54, Pizu pisze:
> Hi,
>
> Am having an issue on the 1.6.0.
>
> error:
>
> 2020-05-29 10:43:54.629 ERROR [kea-dhcp4.dhcp4/2524]
> DHCP4_CONFIG_LOAD_FAIL configuration error using file:
> /usr/local/etc/kea/kea-dhcp4.conf, reason: Unable to open database: must
> specify a name for the database
> 2020-05-29 10:43:54.630 ERROR [kea-dhcp4.dhcp4/2524] DHCP4_INIT_FAIL
> failed to initialize Kea server: configuration error using file
> '/usr/local/etc/kea/kea-dhcp4.conf': Unable to open database: must
> specify a name for the database
>
> database name is set however am having this error :( can someone help?
> please
>
> {
>
> "Dhcp4": {
> "server-tag": "Zejtun KEA DHCPv4 server",
> "config-control": {
> "config-databases": [{
> "type": "mysql",
> "name": "keadbname",
> "user": "keadbuser",
> "password": "passwordhere",
> "host": "localhost",
> "port": 3306
> }],
> "config-fetch-wait-time": 20
> },
> "interfaces-config": {
> "interfaces": [ "ens192"]
>
> },
>
>
> "lease-database": {
> "type": "mysql",
> "lfc-interval": 3600
> },
>
>
> Regards,
>
> David
>
> _______________________________________________
> 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.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
>
More information about the Kea-users
mailing list