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:
parent
ef025afe0f
commit
2e4c898c89
@ -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;";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user