Hello I have my own website mafia game. when i used the shared hosting i can install the install.php file and the game works fine. but when i use the VPS hosting it doesnt work it keep saying that it cant create tables on the database.
Good Day, You will need to validate that the database connection details are correct in the configuration file for the site (on the VPS). You will also need to ensure that the MySQL user has the rights to create tables. Regards, Chris
I did they could fix it. i have no ideal why. but then i upload my script to the VPS host the db cant create tanles and wont save any of the info when i use the install.php file.
Update your server mysql version and php version to latest and check database configurations of your server are correct or not.
If you're using cpanel, then you can follow these steps: 1. Go to cpanel 2. Login with your credentials 3. Below the general information on the right panel, go to server information 4. Here you can see the php version You can also see the php version using the php -v command