'How can I create a online database for a PYQT5 app?

I would like to know what I should use for an online database for my PYQT5 the application the app does not use any network connection bar when uploading the data from the app.

I want to store the users score form their current game so when they finish the game the score will be updated to the db. I will create a leaderboard and get the scores from the database to display to a user playing the game in a tab in the PYQT5 app.

I have looked into mongoDB but I am getting errors and I wold like to know if there is another service I can use?

Errors when I try to create and insert data locally pymongo.errors.ServerSelectionTimeoutError: localhost:27017: and also when I try to insert to a database which is already created in mongodb [WinError 10054] An existing connection w as forcibly closed by the remote host,cluster0-shard-00-01.8axfw.mongodb.net:27017



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source