mirror of https://github.com/Icinga/icinga2.git
30 lines
535 B
Plaintext
30 lines
535 B
Plaintext
#include "db_ido/dbconnection.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class IdoMysqlConnection : DbConnection
|
|
{
|
|
[config] String host {
|
|
default {{{ return "localhost"; }}}
|
|
};
|
|
[config] int port {
|
|
default {{{ return 3306; }}}
|
|
};
|
|
[config] String user {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String password {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String database {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String instance_name {
|
|
default {{{ return "default"; }}}
|
|
};
|
|
[config] String instance_description;
|
|
};
|
|
|
|
}
|