Old Databases in PhpMyAdmin

Game development with Board Game Arena Studio
Post Reply
User avatar
jmcdaniel8520
Posts: 2
Joined: 21 August 2023, 01:21

Old Databases in PhpMyAdmin

Post by jmcdaniel8520 »

I see 24 databases in PhpMyAdmin, but I only have 1 game active. Stopping that one game doesn't remove that database either. I ran through the reversi demo and I believe I got it working, then I started commenting out code and trying to get the foundation for my game going. I've also tried to follow all the instructions but admit, it's quite a lot. When I click "Go to game database" in the only game I have active, it successfully pulls up the database numbered 514649 in PhpMyAdmin (in this example), and I'm able to see the update to the table I made in my code, so it's all connected correctly.

Is this expected, or is this caused by me crashing my program a million times already?

I'm a software engineer at my real job but it's mainly C++, so all of this php, js, SQL, and HTML stuff is completely new. Nevertheless, I'm enjoying learning it all.
Attachments
One_Game_Active.png
One_Game_Active.png (57.58 KiB) Viewed 266 times
So_Many_Databases.png
So_Many_Databases.png (29.35 KiB) Viewed 266 times
User avatar
SwHawk
Posts: 133
Joined: 23 August 2015, 16:45

Re: Old Databases in PhpMyAdmin

Post by SwHawk »

A new DB gets created each time you start a game, even though the start isn't sucessfull.

Those DBs will get pruned over time, so don't worry about them.
User avatar
jmcdaniel8520
Posts: 2
Joined: 21 August 2023, 01:21

Re: Old Databases in PhpMyAdmin

Post by jmcdaniel8520 »

Good enough for me! Before finding the "Go to game database" button I was afraid it'd be too hard to find the database I cared about while the others were there. So it sounds like my issue is resolved either way. Thanks!
Post Reply

Return to “Developers”