Saving data with mysql?

I am confused, some of my friends told me that they are changing data with mysql serverside. I already had a mysql but not sure. Can i change/save a data with mysql? If i can, how? examples please :confused:

Mysql is a querry language to interact with a database. I’m not really sure what you’re meaning with “I already had a mysql”.

3 Likes

You’d need a MySQL database to store the data, a method of communicating with your database (i.e. a REST API), and you’d have to make use of the HttpService to send and retrieve data.

3 Likes

This would have to be done with some sort of Web API / Webhook. There’s no way to run MySQL on Roblox as far as I know. :eyes:

:thinking: wonder how expensive that would be.

4 Likes

I mean, i already did a ban command for my discord bot that works with mysql/glitch.
but i want to make a anti-exploit works with mysql/sends data to mysql.

So you could extend your existing server by implementing additional routes for logging and retrieving anti-exploit data, and add a table into your database to accommodate your needs?

2 Likes

Yeah exactly. 30char30char30char30char

I’m kinda confused why you’d use MySQL for this. Datastores, firebase or evening postgreSQL seem like better alternatives.

As for adapting functionality, you’d need a web-server and a RESTful API. Both can be googled with plentiful resources.

1 Like

As i told, i am using a Discord BOT for banning people from ROBLOX Place. Its useful and i need it.

I’ll use MySQL + DataStore if that isnt possible.

Hi!

Yes, you could change data with MySQL, but you’d need basic web development knowledge, in this case, I use “PHP”.

If you’re really looking towards saving data on ROBLOX, I’d recommend using DataStoreService.

Hope I helped!

2 Likes

2€/Month. Webserver owner here, I use my webserver for alot of things and that’s not that expensive. Of course if I make a game that blows up my server will quickly die, but it was for an event soo

1 Like

Thank you! I finally made my anti-exploit that works with mysql!

No problem! If you need any help, don’t hesitate to DM me.

1 Like