1. Post #321
    FlapadarV2's Avatar
    December 2010
    1,802 Posts
    Either spawn a bot on initialise or cache bans from the last time they were loaded.
    Reply With Quote Edit / Delete United Kingdom Show Events

  2. Post #322
    I didn't realize I had to be in the server, that fixed it thanks.
    I'm going to be using this for global bans, doesn't this mean that the first person to join will be allowed in (if they're meant to be banned)?
    Technically yes. But that's the case anyways with the InitialSpawn hook. It just means you have to hope that you can get the query quicker than they're done loading (which is usually the case anyhow). Or do as Flapadar suggested.
    Reply With Quote Edit / Delete United Kingdom Show Events Informative Informative x 1 (list)

  3. Post #323
    ColdFusion's Avatar
    December 2009
    2,227 Posts
    Technically yes. But that's the case anyways with the InitialSpawn hook. It just means you have to hope that you can get the query quicker than they're done loading (which is usually the case anyhow). Or do as Flapadar suggested.
    Query:wait() - blocks until query has been completed (and all data read back).

    And i am pretty sure atm the player is connecting the module will allready start behaving normally again.
    Reply With Quote Edit / Delete Netherlands Show Events Informative Informative x 1 (list)

  4. Post #324
    Lolololololooooooooooo! La la la-laaaaaaaaaaah, la la laaaaaah, lol, haha.
    ^seth's Avatar
    January 2011
    294 Posts
    Does this module keep database connections over map restarts? I mean, if I restart the map frequently will I end up with 500 open MySQL connections?
    Reply With Quote Edit / Delete United Kingdom Show Events Disagree Disagree x 2 (list)

  5. Post #325
    Does this module keep database connections over map restarts? I mean, if I restart the map frequently will I end up with 500 open MySQL connections?
    I don't think so. I've never actually tested this (I just set the connections to nil on shutdown).
    Reply With Quote Edit / Delete United Kingdom Show Events

  6. Post #326
    Lolololololooooooooooo! La la la-laaaaaaaaaaah, la la laaaaaah, lol, haha.
    ^seth's Avatar
    January 2011
    294 Posts
    Well it's working perfectly now, thanks for your help. :3:
    Reply With Quote Edit / Delete United Kingdom Show Events Friendly Friendly x 2 (list)

  7. Post #327
    Well, after testing a few things for the past hour, I've come to the conclusion that it's not onConnected causing the crash. It's something else causing it. I was led to believe so because of the way I load a few modules of my own. Whoops
    Reply With Quote Edit / Delete United Kingdom Show Events

  8. Post #328
    Gold Member
    blackops7799's Avatar
    December 2006
    1,714 Posts
    I didn't realize I had to be in the server, that fixed it thanks.
    I'm going to be using this for global bans, doesn't this mean that the first person to join will be allowed in (if they're meant to be banned)?
    If you want it to do some queries as the server starts up, add a bot in InitPostEntity then kick it after you finish your initial queries. I do this on my servers and it works great.
    Reply With Quote Edit / Delete United States Show Events Informative Informative x 1 (list)

  9. Post #329
    Lolololololooooooooooo! La la la-laaaaaaaaaaah, la la laaaaaah, lol, haha.
    ^seth's Avatar
    January 2011
    294 Posts
    If you want it to do some queries as the server starts up, add a bot in InitPostEntity then kick it after you finish your initial queries. I do this on my servers and it works great.
    I found out that it's not actually a problem - the player doesn't need to spawn first, the query is run the moment they connect.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 1 (list)

  10. Post #330
    Gold Member
    blackops7799's Avatar
    December 2006
    1,714 Posts
    I found out that it's not actually a problem - the player doesn't need to spawn first, the query is run the moment they connect.
    Yep, that's because servers go into a sleep like mode when no players are connected, as soon as a player makes connection it will start doing shit again.
    Reply With Quote Edit / Delete United States Show Events

  11. Post #331
    ali3n92's Avatar
    April 2008
    716 Posts
    Yep, that's because servers go into a sleep like mode when no players are connected, as soon as a player makes connection it will start doing shit again.
    Actually, the server doesn't go back to sleep when all players are gone. It's only sleeping when it starts up.
    Reply With Quote Edit / Delete Romania Show Events Agree Agree x 6Winner Winner x 1 (list)

  12. Post #332
    EraYaN's Avatar
    March 2011
    1 Posts
    I have a problem,

    It doesn't call my callbacks. It executes the query but doesn't call my callbacks.
    They always worked and now I moved then to seperate files and they stopped working.

    It shoudn't be a problem that the callbacks and main function are in a huge table right? (like the Ulib way)

    -EraYaN-
    Reply With Quote Edit / Delete Netherlands Show Events

  13. Post #333
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I have a problem,

    It doesn't call my callbacks. It executes the query but doesn't call my callbacks.
    They always worked and now I moved then to seperate files and they stopped working.

    It shoudn't be a problem that the callbacks and main function are in a huge table right? (like the Ulib way)

    -EraYaN-
    As long as your functions are viewable by all of your code. Make sure they aren't local functions. Also, double check that the onError isn't being called instead.
    Reply With Quote Edit / Delete United States Show Events

  14. Post #334
    Buggzie's Avatar
    December 2009
    965 Posts
    Does this module keep database connections over map restarts? I mean, if I restart the map frequently will I end up with 500 open MySQL connections?
    It will open 500 MySQL connections but kill off the previous one, all lua scripts are reloaded on map changes and server restarts.
    Reply With Quote Edit / Delete Australia Show Events Late Late x 1 (list)

  15. Post #335

    August 2007
    152 Posts
    Does this module keep database connections over map restarts? I mean, if I restart the map frequently will I end up with 500 open MySQL connections?
    All MySQL servers have a timeout which will kill the connection after inactivity. This feature can not be disabled and usually defaults to 8 hours. If you want to change the inactivity timeout see http://www.facepunch.com/threads/933...1#post26221004
    Reply With Quote Edit / Delete United States Show Events

  16. Post #336
    Which is why when the Gamemode is shutting down, you want to set the connections to nil to terminate them. Some hosters have a limit as to how many connections can be used at any one time.
    Reply With Quote Edit / Delete United Kingdom Show Events Informative Informative x 1 (list)

  17. Post #337
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Which is why when the Gamemode is shutting down, you want to set the connections to nil to terminate them. Some hosters have a limit as to how many connections can be used at any one time.
    Shouldn't the connections automatically terminate on shutdown, as the entire lua_state is unloaded?
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 2 (list)

  18. Post #338
    Kamshak's Avatar
    July 2008
    408 Posts
    I'm getting an error when trying to load the module
    Code:
    error loading module 'mysqloo' from file 'f:\games\steam2\steamapps\steamname\garrysmod\garrysmod\lua\includes\modules\gmsv_mysqloo.dll':
        The specified module could not be found.
    What can i do? I copied the dir to addons and when that didn't work i copied the contents of the dir to gmod/gmod
    require("mysqloo") gives the error above :(
    The file garrysmod\garrysmod\lua\includes\modules\gmsv_mysq loo.dll does exist
    Reply With Quote Edit / Delete Germany Show Events

  19. Post #339
    Shouldn't the connections automatically terminate on shutdown, as the entire lua_state is unloaded?
    Should be the case, but I've found that unless I set them to nil the connections would actually persist. You can't use the connections as the object is gone though. Keep in mind this was back in v6 though, I haven't tested if the same still occurs in v7.

    I'm getting an error when trying to load the module
    Code:
    error  loading module 'mysqloo' from file  'f:\games\steam2\steamapps\steamname\garrysmod\garrysmod\lua\includes\modules\gmsv_mysqloo.dll':
        The specified module could not be found.
    What can i do? I copied the dir to addons and when that didn't work i copied the contents of the dir to gmod/gmod
    require("mysqloo") gives the error above :(
    The file garrysmod\garrysmod\lua\includes\modules\gmsv_mysq loo.dll does exist

    Screenshot of where they're installed to with the directory please.
    Reply With Quote Edit / Delete United Kingdom Show Events

  20. Post #340
    ezio audtioriet
    alexanderk's Avatar
    May 2007
    1,337 Posts
    I'm getting an error when trying to load the module
    Code:
    error loading module 'mysqloo' from file 'f:\games\steam2\steamapps\steamname\garrysmod\garrysmod\lua\includes\modules\gmsv_mysqloo.dll':
        The specified module could not be found.
    What can i do? I copied the dir to addons and when that didn't work i copied the contents of the dir to gmod/gmod
    require("mysqloo") gives the error above :(
    The file garrysmod\garrysmod\lua\includes\modules\gmsv_mysq loo.dll does exist
    generally means you installed the libmysql module incorrectly
    Reply With Quote Edit / Delete Norway Show Events Agree Agree x 2 (list)

  21. Post #341
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    generally means you installed the libmysql module incorrectly
    This. If it's a dedi, install the libmysql.dll to your orangebox bin folder. If it's linux, you'll need to acquire the mysql libraries.
    Reply With Quote Edit / Delete United States Show Events Useful Useful x 1 (list)

  22. Post #342
    Kamshak's Avatar
    July 2008
    408 Posts
    Code:
    1>------ Build started: Project: LuaOO, Configuration: Release Win32 ------
    1>Build started 03.04.2011 10:20:25.
    1>InitializeBuildStatus:
    1>  Creating "output\Release\Win32\obj\LuaOO.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1>  All outputs are up-to-date.
    1>Lib:
    1>  All outputs are up-to-date.
    1>  LuaOO.vcxproj -> F:\Dev\VC++\GMod\LuaOO\output\Release\Win32\LuaOO.lib
    1>FinalizeBuildStatus:
    1>  Deleting file "output\Release\Win32\obj\LuaOO.unsuccessfulbuild".
    1>  Touching "output\Release\Win32\obj\LuaOO.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:00.03
    2>------ Build started: Project: MySqlOO, Configuration: Release Win32 ------
    2>Build started 03.04.2011 10:20:25.
    2>InitializeBuildStatus:
    2>  Touching "output\Release\Win32\obj\MySqlOO.unsuccessfulbuild".
    2>ClCompile:
    2>  All outputs are up-to-date.
    2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(F:\Dev\VC++\GMod\MySqlOO\output\Release\Win32\MySqlOO.dll) does not match the Linker's OutputFile property value (F:\Dev\VC++\GMod\MySqlOO\output\Release\Win32\gm_mysqloo.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
    2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(MySqlOO) does not match the Linker's OutputFile property value (gm_mysqloo). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
    2>Link:
    2>  LuaOO.lib(CLASS_LuaObjectBase.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    2>     Creating library output\Release\Win32\gm_oomysql.lib and object output\Release\Win32\gm_oomysql.exp
    2>  Generating code
    2>  Finished generating code
    2>  MySqlOO.vcxproj -> F:\Dev\VC++\GMod\MySqlOO\output\Release\Win32\MySqlOO.dll
    2>FinalizeBuildStatus:
    2>  Deleting file "output\Release\Win32\obj\MySqlOO.unsuccessfulbuild".
    2>  Touching "output\Release\Win32\obj\MySqlOO.lastbuildstate".
    2>
    2>Build succeeded.
    2>
    2>Time Elapsed 00:00:01.22
    ========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    at
    F:\Games\Steam2\SteamApps\steamname\garrysmod\garr ysmod\addons\MySqlOO\lua\includes\modules
    there is gm_mysqloo.dll

    and at
    F:\Games\Steam2\SteamApps\steamname\garrysmod\garr ysmod\addons\MySqlOO
    there is the libmysql.dll that came with the connector i linked against
    the same file is also at garrysmod/garrysmod/bin
    but still:
    Code:
    ] lua_run require("mysqloo")
    > require("mysqloo")...
    error loading module 'mysqloo' from file 'f:\games\steam2\steamapps\steamname\garrysmod\garrysmod\addons\mysqloo\lua\includes\modules\gm_mysqloo.dll':
        The specified module could not be found.
    Reply With Quote Edit / Delete Germany Show Events

  23. Post #343
    -giant quote-
    The libmysql.dll goes into garrysmod/, not garrysmod/garrysmod/bin.

    You also have to extract the sv_ and cl_ mysqloo modules and put them directly into the lua/includes/modules folders.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 1Friendly Friendly x 1 (list)

  24. Post #344
    Kamshak's Avatar
    July 2008
    408 Posts
    The libmysql.dll goes into garrysmod/, not garrysmod/garrysmod/bin.

    You also have to extract the sv_ and cl_ mysqloo modules and put them directly into the lua/includes/modules folders.
    It works now, putting the libmysql into garrysmod/bin fixed it :)
    The module itself can stay in the addon format, it was just the libmysql that didn't work in the addon
    Thanks for the help :)

    I'm now having a very different problem, when i insert data, the data is saved but it takes ages until the onSuccess callback of the query is called
    Edit: ages = sometimes more than a minute, when using query:wait( ) the callbacks get called almost instantly. Is anyone else experiencing this?
    Reply With Quote Edit / Delete Germany Show Events Informative Informative x 1 (list)

  25. Post #345
    zzaacckk's Avatar
    June 2009
    2,140 Posts
    Hmm this is odd..

    Image: http://img233.imageshack.us/img233/4796/sadfac.png

    Also see .. : http://www.facepunch.com/threads/1077170-Mysqloo-Error

    Edited:

    Resolved - a person or a bot must be in the server for queries to run.
    Reply With Quote Edit / Delete United States Show Events Informative Informative x 2Dumb Dumb x 2 (list)

  26. Post #346
    Buggzie's Avatar
    December 2009
    965 Posts
    Hmm this is odd..

    Image: http://img233.imageshack.us/img233/4796/sadfac.png

    Also see .. : http://www.facepunch.com/threads/1077170-Mysqloo-Error

    Edited:

    Resolved - a person or a bot must be in the server for queries to run.
    Use tmysql instead.
    Reply With Quote Edit / Delete Australia Show Events Dumb Dumb x 8 (list)

  27. Post #347
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Use tmysql instead.
    I'm really getting tired of you. All of your posts in this thread have summed up to "This module sucks, go use tmysql instead" or "This addon sucks because it uses mysqloo instead of tmysql".

    If you don't have anything useful to contribute, don't post. There are several advantages of using either module, and I haven't seen you give one reason why someone should use tmysql instead of mysqloo. You only ever say this one sucks and not to use it.

    If you have any factual reason why they should, then I'm sure we would all love to hear it. Otherwise, no one cares about your opinon, so kindly stop trolling/baiting/being-a-retard or whatever you care to call it.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 4Lua King Lua King x 1 (list)

  28. Post #348
    Buggzie's Avatar
    December 2009
    965 Posts
    I'm really getting tired of you. All of your posts in this thread have summed up to "This module sucks, go use tmysql instead" or "This addon sucks because it uses mysqloo instead of tmysql".

    If you don't have anything useful to contribute, don't post. There are several advantages of using either module, and I haven't seen you give one reason why someone should use tmysql instead of mysqloo. You only ever say this one sucks and not to use it.

    If you have any factual reason why they should, then I'm sure we would all love to hear it. Otherwise, no one cares about your opinon, so kindly stop trolling/baiting/being-a-retard or whatever you care to call it.
    Telling me what advantages mysqloo has over tmysql, all I can see is that mysqloo isn't updated, it crashes constantly, it's not a reliable addon. Tmysql has a better query system, doesn't fail constantly and I've been using if for nearly 8 months without havening one difficulty with that addon. I added mysqloo about a month ago, I couldn't even get my script to work, if you look at my posts a few previous pages no one EVEN helped me. So before defending this piece of shit addon that doesn't even function properly and isn't being updated by anyone, try getting a bit more back-info.

    I understand with mysqloo you can connect to multiple databases, but seriously one per addon is fine, you don't need more than one database per addon, thats just a plain waste of space.

    Reasons why I prefer tmysql over mysqloo: has not crashed ONCE, multithreading (never EVER causes lag on my server(s)), much faster, more reliable, easier to script, easier to understand.
    Reply With Quote Edit / Delete Australia Show Events Dumb Dumb x 2Optimistic Optimistic x 1 (list)

  29. Post #349
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    There, you see, those are reasons. You had a bad experience, and you prefer tmysql because it solved your problems where mysqloo didn't. That's wonderful.

    However, when someone has a problem with this module, the first reaction shouldn't be "its borked, dump it". I have been using mysqloo on all my servers, without the slightest bit of issues. I am running linux and windows. Clearly, unless you are doing something drastically different, and much more demanding than me, the errors are user errors, not a fault of the module.

    Again, if you prefer tmysql, that's perfectly fine; but, don't push your opinion on others. You can offer them the option, and give your reasons why you use it, but the attitude of "this sucks don't use it" gets rather irksome after a time.

    As for not having any update in a while, what does that have to do with anything? The module isn't broken, and unless you have some fantastic feature you want added, it doesn't need to be updated. One could argue that frequent are a sign of an incomplete or buggy system, over a stable, functional one that doesn't need constant maintenance.

    Again, I'm thrilled you've had success using tmysql, and am sorry you had a bad experience with mysqloo, but please don't shove your opinions on other without reasons, as you have been known to do quite frequently.

    Out of curiosity, what exactly were you trying to do when you ran into trouble with this module? Again, I've been using it on both platforms for a while, without any sort of lag or errors, and I abuse this module to death.
    Reply With Quote Edit / Delete United States Show Events Optimistic Optimistic x 1Zing Zing x 1 (list)

  30. Post #350
    Buggzie's Avatar
    December 2009
    965 Posts
    There, you see, those are reasons. You had a bad experience, and you prefer tmysql because it solved your problems where mysqloo didn't. That's wonderful.

    However, when someone has a problem with this module, the first reaction shouldn't be "its borked, dump it". I have been using mysqloo on all my servers, without the slightest bit of issues. I am running linux and windows. Clearly, unless you are doing something drastically different, and much more demanding than me, the errors are user errors, not a fault of the module.

    Again, if you prefer tmysql, that's perfectly fine; but, don't push your opinion on others. You can offer them the option, and give your reasons why you use it, but the attitude of "this sucks don't use it" gets rather irksome after a time.

    As for not having any update in a while, what does that have to do with anything? The module isn't broken, and unless you have some fantastic feature you want added, it doesn't need to be updated. One could argue that frequent are a sign of an incomplete or buggy system, over a stable, functional one that doesn't need constant maintenance.

    Again, I'm thrilled you've had success using tmysql, and am sorry you had a bad experience with mysqloo, but please don't shove your opinions on other without reasons, as you have been known to do quite frequently.

    Out of curiosity, what exactly were you trying to do when you ran into trouble with this module? Again, I've been using it on both platforms for a while, without any sort of lag or errors, and I abuse this module to death.
    I was trying to get the module to actually require, every time I tried loading the module it didn't seem to work, I understand others can prefer mysqloo over tmysql due to there scripting habits or different types of projects, but I'm just saying if mysqloo doesn't work for you, try tmysql.
    Reply With Quote Edit / Delete Australia Show Events Friendly Friendly x 1 (list)

  31. Post #351
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I was trying to get the module to actually require, every time I tried loading the module it didn't seem to work, I understand others can prefer mysqloo over tmysql due to there scripting habits or different types of projects, but I'm just saying if mysqloo doesn't work for you, try tmysql.
    If you couldn't get it to require, then you didn't install it properly... That has nothing to do with how the module works. I'm sorry but that's just you being dumb... You just lost all rights to complain about how it works code-wise.

    Also,
    I added mysqloo about a month ago, I couldn't even get my script to work, if you look at my posts a few previous pages no one EVEN helped me.
    Take a look here: http://www.facepunch.com/threads/933...1#post28312756

    It was even me that tried to help you, and you shrugged it off as "a problem with my dedi."

    I don't have any issues with you suggesting tmysql to people. I have an issue with people having a tiny, easily correctable error, and you instantly telling them to drop what they are doing and switch modules instead of trying to help. It's not helpful.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 2 (list)

  32. Post #352
    Buggzie's Avatar
    December 2009
    965 Posts
    If you couldn't get it to require, then you didn't install it properly... That has nothing to do with how the module works. I'm sorry but that's just you being dumb... You just lost all rights to complain about how it works code-wise.

    Also,


    Take a look here: http://www.facepunch.com/threads/933...1#post28312756

    It was even me that tried to help you, and you shrugged it off as "a problem with my dedi."

    I don't have any issues with you suggesting tmysql to people. I have an issue with people having a tiny, easily correctable error, and you instantly telling them to drop what they are doing and switch modules instead of trying to help. It's not helpful.
    If I can use tmysql why can't I use mysqloo, I don't understand the problem. I also said it "seemed" to be my dedi, which was false. I never got to figure out the problem.
    Reply With Quote Edit / Delete Australia Show Events

  33. Post #353
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    If I can use tmysql why can't I use mysqloo, I don't understand the problem. I also said it "seemed" to be my dedi, which was false. I never got to figure out the problem.
    You can't use mysqloo because you installed it wrong. I'm done with this conversation.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 1 (list)

  34. Post #354
    Lolololololooooooooooo! La la la-laaaaaaaaaaah, la la laaaaaah, lol, haha.
    ^seth's Avatar
    January 2011
    294 Posts
    You need the vs2008 redistributable maybe?
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 2Informative Informative x 1 (list)

  35. Post #355
    Buggzie's Avatar
    December 2009
    965 Posts
    You can't use mysqloo because you installed it wrong. I'm done with this conversation.
    I didn't install it wrong, thanks for popping that out of your ass, I placed the module in lua/includes/module/ and I played the libmysql.dll inside with the srcds.exe and in the garrysmod folder because at times it doesn't work if its only in one with tmysql.

    Seth could possibly be onto something, thanks seth.
    Reply With Quote Edit / Delete Australia Show Events

  36. Post #356
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Popping it out of my ass? You never gave a specific error, only that it failed to require. The most likely case is that you installed it incorrectly. If you were to give an actual error, other than "hurrr it doesn't work", then we might be able to help you out.

    Can you show us a directory map of where you put everything?

    because at times it doesn't work if its only in one with tmysql
    ... wut
    Reply With Quote Edit / Delete United States Show Events

  37. Post #357
    Giant quote asking for advantages and a bunch of other opinions.
    I've not used tmysql3, but from what I'm aware of (please correct me if I'm wrong here) it's not OO and it only supports a single database. For both of those reasons I cannot use tmysql seeing as I need a module that connects to more than one database, and I prefer OO programming . Both modules are threaded I might add and speedwise mysqloo has never let me down (or in terms of crashes).

    Otherwise it's down to personal choice.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 1 (list)

  38. Post #358
    Lolololololooooooooooo! La la la-laaaaaaaaaaah, la la laaaaaah, lol, haha.
    ^seth's Avatar
    January 2011
    294 Posts
    Mhm, I moved from tmysql to mysqloo for that exact reason (multiple databases).
    Reply With Quote Edit / Delete United Kingdom Show Events

  39. Post #359
    Buggzie's Avatar
    December 2009
    965 Posts
    I've not used tmysql3, but from what I'm aware of (please correct me if I'm wrong here) it's not OO and it only supports a single database. For both of those reasons I cannot use tmysql seeing as I need a module that connects to more than one database, and I prefer OO programming . Both modules are threaded I might add and speedwise mysqloo has never let me down (or in terms of crashes).

    Otherwise it's down to personal choice.
    I understand this so far, as I've also pointed it in one of my posts. Anyways yeah It's your personal option but I still prefer tmysql as I don't require connecting to multiple databases :)
    Reply With Quote Edit / Delete Australia Show Events Funny Funny x 1 (list)

  40. Post #360
    zzaacckk's Avatar
    June 2009
    2,140 Posts
    Use tmysql instead.
    I am using both mysqloo and tmysql for my addon due to recent requests.
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 5 (list)