Search code examples
luagarrys-mod

Having troubles getting a Garry's Mod private server to connect to MySQL database using MariaDB


Trying to get a private Garry's Mod TTT server started to test things using publicly released code (moat.gg GitHub.) Got the database setup using MariaDB and am met with errors when launching the server that I cannot figure out on my own. Zero clue what is wrong and why it isn't connecting and I am met with the error below permanently, any help is appreciated.

[moat_addons] addons/moat_addons/lua/system/app/core/datastore.lua:1: Couldn't load module 
library! (The specified module could not be found.)
  1. require - [C]:-1
   2. unknown - addons/moat_addons/lua/system/app/core/datastore.lua:1
    3. include - [C]:-1
     4. unknown - addons/moat_addons/lua/system/app/core/init.lua:607
      5. include - [C]:-1
       6. unknown - addons/moat_addons/lua/autorun/init.lua:4

It is just multiple of that first error where it "Couldn't load module library"


Solution

  • I thought I had used the latest mysqloo file in every location but I missed one, the only one that mattered... fixed.