Ulysses Stuff > Releases

ULX MySQLOO

<< < (4/15) > >>

MrPresident:
Whoever wrote this script probably didn't put in any redundancy checks for connection checking.

My script has throwback errors if it detects that it lost connection and then it retries the connection, after failing 3 times in a row it reports the failures and then authenticates all users as guests to stop any other errors.

Anything could be causing connection issues. Does your SQL server reside on the same physical server as your gmod server? If not, it could be a timeout issue.

MrPresident:
You will find that maintaining a connection (which is persistent for MySQLOO) is nearly impossible for cross-server databases.

Are you ever able to get a connection? Does it just lose it after time? If you never get a solid connection, it might be that your web server has disabled access to mySQL from off-site. I know a web host I used to use didn't allow external connections to the databases.

Will Schuester:
I've been trying to get this to work for the past three days now. Sadly, I'm out of luck...

For your information I have placed libmySQL.dll in the same directory as hl2.exe.
Also, gmsv_mysqloo_win32.dll is in garrysmod/garrysmod/lua/bin/.

From the console I used lua_run require("mysqloo"). After that command I receive zero errors.

The only issue I have is actually getting this script to run.

Here's its error:


--- Code: ---Couldn't include file 'includes\modules\mysqloo.lua' (File not found) (@addons/ulx/lua/ulx/modules/sh/mysql.lua (line 9))

[ERROR] addons/ulx/lua/ulx/modules/sh/mysql.lua:9: Module not found!
  1. require - [C]:-1
   2. unknown - addons/ulx/lua/ulx/modules/sh/mysql.lua:9
    3. include - [C]:-1
     4. unknown - addons/ulx/lua/ulx/cl_init.lua:17
      5. include - [C]:-1
       6. unknown - addons/ulx/lua/ulib/modules/ulx_init.lua:4
        7. include - [C]:-1
         8. unknown - addons/ulib/lua/ulib/cl_init.lua:23
          9. include - [C]:-1
           10. unknown - addons/ulib/lua/autorun/ulib_init.lua:5


--- End code ---

JakeGriffin:
I'm getting the exact same error message, and I know that libmySQL.dll and mySQLOO.lua are installed correctly as I need them for other cross-server content I have on my servers.

Sidewaykill:
Yep, I also get that one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version