We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436963d commit 9ffb7deCopy full SHA for 9ffb7de
1 file changed
Src/Database/ParameterDatabaseUI.cpp
@@ -88,6 +88,13 @@ void CParameterDatabaseUI::slotTypeCurrentTextChanged(const QString &text)
88
bNet = false;
89
} else if("QMYSQL" == text) {
90
bNet = true;
91
+ if(m_pPara) {
92
+ auto &net = m_pPara->m_Net;
93
+ if(0 == net.GetPort()) {
94
+ net.SetPort(3306);
95
+ ui->wNet->SetParameter(&net);
96
+ }
97
98
}
99
100
if(szHelp.isEmpty())
0 commit comments