Skip to content
Snippets Groups Projects
Commit 54aa4a6d authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fixed db credentials

parent e849ba80
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,10 @@ void Interlock::setupDb()
{
/* connect to db */
db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("srv-db-srf-02");
db.setDatabaseName("intlkfermi");
db.setUserName("ifermi");
db.setPassword("ferm");
db.setHostName("srv-db-replica-02");
db.setDatabaseName("fermi_interlock");
db.setUserName("firo");
db.setPassword("firo_password");
if (!db.open())
QMessageBox::critical(0, "Error", "Can't establish connection with db intlkboost on host log");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment