Is it possible to create a remote MySQL connection through my script? For example, I have a website with player registrations, and through the script, I establish a connection to another IP, user, password, and database, then execute a query to retrieve data from the external MySQL database, not from my server. If so, how can I do it? Could someone provide an example or a topic on this?
Which mysql script do you use in your server?
mysql-async with oxmysql
In this case, I am developing protection for my store’s scripts, and I want to create a system that will query the store’s database, which will be associated with a website, but first I need the script to be able to verify the license in the database remote.
Writing database connections in script is not a best way to check license, make an api on your remote server and check for fivem native http performs.
If need any further help feel free to contact with me directly.
Also I guess you need to check tebex policies and cfx policies because people also can scam the people with this logic.
Not sure it’s ok with policies.