Author Topic: MySQL Connections?  (Read 1111 times)

Does anyone have any knowledge of getting and inputting data into a MySQL database with torque script?

You can't. The SQL cache was written into the engine.

It's only accessible from the engine side, but it'd be REALLY easy to create bindings with a .dll mod. Unfortunately, this is frowned upon by Badspot, so I can't help you with that.

Yeah, all you can do is use plain TCP to connect and use your SQL commands.

Er, just to note, doing what hammereditor suggested requires a middleman server that is properly hooked to MySQL rather than simply connecting directly to the MySQL server.

You could set up a local host web page/MySQL database without port forwarding. Then you are the Beginning, middle, and end men. Your everyone...

MySQL uses a binary protocol for client-server connections. Implement a local proxy server or use a different database system. I've implemented a native client for Redis; it might be of use to you.
« Last Edit: May 08, 2014, 04:05:28 PM by portify »


fixed

.. oops, didn't realize that there is no HTTPS version of the site.