Closed Invilein closed 4 years ago
This seems like an issue with that addon, I am also not sure exactly what the problem is supposed to be.
Couldn't include file 'includes/modules/mysqloo.lua' (File not found) (@gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua (line 132))
[DarkRP] gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:132: Module not found!
[DarkRP] gamemodes/darkrp/gamemode/modules/fadmin/fadmin/motd/sv_init.lua:14: attempt to index global 'MySQLite' (a nil value)
[DarkRP] gamemodes/darkrp/gamemode/init.lua:112: attempt to index global 'MySQLite' (a nil value)
Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
Where did you place the dll and what did you title it?
lua/bin
What's the title of the dll?
gmsv_mysqloo_linux.dll
Am Mo., 23. März 2020 um 03:45 Uhr schrieb Collin (code_gs) < notifications@github.com>:
What's the title of the dll?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FredyH/MySQLOO/issues/49#issuecomment-602338229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7P5BZEZ7TBOX73OGFE3ETRI3ENLANCNFSM4LRJ4AZA .
Is the server running on the main or x64 branch? What OS is the server running on?
Linux Ubuntu 16.04
Am Mo., 23. März 2020 um 14:33 Uhr schrieb Collin (code_gs) < notifications@github.com>:
Is the server running on the main or x64 branch? What OS is the server running on?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FredyH/MySQLOO/issues/49#issuecomment-602590915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7P5B4XB74XF2EJ6QBSZQ3RI5QI3ANCNFSM4LRJ4AZA .
Is the server running on the main or x64 branch?
Ubuntu 16.04 minimal
That doesn't answer the question, but I'm assuming since you are unaware of what the x64 branch is, you're on the main branch. I'm unsure of what the problem is since the module is in the correct folder and named properly, but the error you posted is from failing to load the dll since the server doesn't see it.
I currently have an Ubuntu local server with mysqloo installed and it loads fine so it must be something on your end. Try running this in console and report back the result:
lua_run print(file.Exists("bin/gmsv_mysqloo_linux.dll", "LUA"))
If you are still having the issuee, you might need vcredist 2008.
did all it needed
RP_MySQLConfig.EnableMySQL = true -- Set to true if you want to use an external MySQL database, false if you want to use the built in SQLite database (garrysmod/sv.db) of Garry's mod. RP_MySQLConfig.Host = "localhost" -- This is the IP address of the MySQL host. Make sure the IP address is correct and in quotation marks (" ") RP_MySQLConfig.Username = "root" -- This is the username to log in on the MySQL server. -- contact the owner of the server about the username and password. Make sure it's in quotation marks! (" ") RP_MySQLConfig.Password = "MyPasswordHere" -- This is the Password to log in on the MySQL server, -- Everyone who has access to FTP on the server can read this password. -- Make sure you know who to trust. Make sure it's in quotation marks (" ") RP_MySQLConfig.Database_name = "DarkRP" -- This is the name of the Database on the MySQL server. Contact the MySQL server host to find out what this is RP_MySQLConfig.Database_port = 3306 -- This is the port of the MySQL server. Again, contact the MySQL server host if you don't know this. RP_MySQLConfig.Preferred_module = "mysqloo" -- Preferred module, case sensitive, must be either "mysqloo" or "tmysql4". Only applies when both are installed. RP_MySQLConfig.MultiStatements = false