Update Controller.cs

Added port specification to the connection string so i could connect on my machine. (Project config is still set to x86)
This commit is contained in:
colincreasman 2021-12-12 14:55:52 -08:00
parent ef025afe0f
commit 2e4c898c89

View File

@ -46,7 +46,8 @@ namespace TeamHobby.HobbyProjectGenerator.Main
"SERVER=localhost;" + "SERVER=localhost;" +
"DATABASE=hobby;" + "DATABASE=hobby;" +
"UID=root;" + "UID=root;" +
"PASSWORD=Teamhobby;"; "PASSWORD=Teamhobby;" +
"PORT=3306;";
IDataSource<string> datasource = dbFactory.getDataSource(dbType, dbInfo); IDataSource<string> datasource = dbFactory.getDataSource(dbType, dbInfo);
string sqlQuery = "Select * from log;"; string sqlQuery = "Select * from log;";