[Kea-users] MySQL Error

Pizu pizpower at gmail.com
Fri May 29 09:17:02 UTC 2020


Seems i missed something from the docs :(

Thanks for your help.

I need to use mysql as I would like to use stork.

Regards,

David

On Fri, 29 May 2020 at 10:59, Marcin Siodelski <marcin at isc.org> wrote:

> 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200529/e650799b/attachment-0001.htm>


More information about the Kea-users mailing list