I am trying to connect my Unity game to a database I have, however, I’m not sure how I can send a request to it. It’s code that will only be on the server, so I want to write C# code to retrieve data from the database.
I’m also confused as to how I would create new tables. Do I have to use the console the database is assigned to and somehow send SQL commands to create tables that way? I’m not sure because I’m new to this, so any help would be appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’ll recommend you to check the following:
Getting Started with DigitalOcean Managed Databases for PostgreSQL Youtube Video
Just how managed are DigitalOcean’s Managed Databases and how to use them :
https://www.digitalocean.com/blog/just-how-managed-are-digitaloceans-managed-databases/
and the most important one the documentation:
Basically, you’ll be able to connect to your database and execute commands like CREATE/UPDATE/DROP etc.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.