I`m trying to connect to postgresql database which name is "galaxydatabase" and I encountered an unhandled exception. Source code:
#include <Wt/Dbo/Dbo>
#include <Wt/Dbo/backend/Postgres>
namespace dbo = Wt::Dbo;
void run()
{
dbo::backend::Postgres po;
po.connect("galaxydatabase");
// or
//dbo::backend::Postgres po("galaxydatabase"); // the same exception???
}
int main(int argc, char **argv)
{
run();
}