Comment the bind-address out in /etc/mysql/my.cnf using a # at the start of the line, then you can connect from all ips.
Make sure to just whitelist the ips you want in your firewall though.
Comment the bind-address out in /etc/mysql/my.cnf using a # at the start of the line, then you can connect from all ips.
Make sure to just whitelist the ips you want in your firewall though.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
What are the NoSafe queries for? I've looked into the source, and if you have NoSafe, you just do not call mysql_store_result() on it, but I'm not that firm with it.
Is it for queries, that do only reading (not writing) the database?
Also, it might be useful for others:
- the mas string length that can be sent from CoD2 to the mysql server seems to be 512 chars
- the libcod-functions in cod2 seem to have been renamed, the correct names can be found here: https://znation.nl/cod4script/
Last edited by serthy; 5th September 2016 at 11:49.
nosave is to not save the result. (nosafe is not something in the code though, it's nosave)
Stringlength is limited by the engine and should be 1024
Yes, I renamed a few functions for my next mod, forgot to change them back in the code
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
wow, I feel stupid now..
Okay, when I call mysql_async_create_query_nosave() once, all other queries (even normal async ones) fail to execute, I have to shut the server down (close the terminal/screen), a normal /killserver doesn't help
But its just a note, I don't get it why one would use nosave when you do not get any result back? Maybe its just some mysql internals with this store