Page 1 of 1

Old Databases in PhpMyAdmin

Posted: 11 October 2023, 03:35
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.

Re: Old Databases in PhpMyAdmin

Posted: 11 October 2023, 07:04
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.

Re: Old Databases in PhpMyAdmin

Posted: 13 October 2023, 00:56
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!