mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Подключение к удаленной БД
This commit is contained in:
@@ -24,6 +24,9 @@ bool DataBaseLMS::createConnection()
|
||||
db->setDatabaseName(dbName);
|
||||
db->setUserName(dbUserName);
|
||||
db->setPassword(dbPassword);
|
||||
db->setPort(5432);
|
||||
db->setHostName("192.168.100.87");
|
||||
|
||||
if(!db->open())
|
||||
{
|
||||
mtxAccess.unlock();
|
||||
|
||||
Reference in New Issue
Block a user