Download

Database connection

Hello UE4 Devs,
I’am a ue4 hobbyist working on a small multiplayer game in my spare time and want to connect to a MSSQL DB (from a dedicated game server) and pass the data to clients.My question is: What is the best location (game instance,game state,player state or other) to make the DB initial connection ( store dbuser,password and server name/ip). I understand that for data read/write to DB it’s best to use game state, is this correct? Thank you in advance!