---
title: Adding MySQLOO to your GMod server
description: "Learn how to add MySQL support to your Garry's Mod server with this installation tutorial for MySQLOO."
source: "https://nodecraft.com/support/games/gmod/adding-mysqloo-to-your-gmod-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvMTUwNTBiZWQ5OC9nbW9kLWxhbmRpbmctYmFubmVyLTEtMi0wLnBuZy9tLyJ9LHsibmFtZSI6ImdhbWVfbG9nbyIsImltYWdlX3VybCI6Imh0dHBzOi8vY21zLWEubm9kZWNyYWZ0LmNvbS9mLzEzMzkzMi8zNzV4MTUwL2YzMDc4YjljM2UvbG9nby5wbmcvbS8ifSx7Im5hbWUiOiJjdGFfdGV4dCIsInRleHQiOiJDcmVhdGUgeW91ciBvd24gc2VydmVyISJ9LHsibmFtZSI6InRleHQiLCJ0ZXh0IjoiQWRkaW5nIE15U1FMT08gdG8geW91ciBHTW9kIHNlcnZlciJ9XQ&s=1e1eeae5148c58715bffc2f1a566e6592dbde69cf1fd1644f63fe2bf2eb32a26"
published: "2019-03-04T22:54:41.971Z"
updated: "2020-02-06T23:24:00.000Z"
---

# Adding MySQLOO to your GMod server

Learn how to add MySQL support to your Garry's Mod server with this installation tutorial for MySQLOO.

So you want to run a really big Garry's Mod server? You probably want a reliable way to track the happenings there. Like a database! Lucky you, Nodecraft already has a database set up. Here's how can make it work with Garry's Mod.

## The file needed for the server

For this example, we'll be adding MySQLOO, but there are other MySQL libraries for Garry's Mod that can be installed in a very similar way. For MySQLOO, there is one required file that lets Garry's Mod talk to MySQL by adding Lua bindings.

### The MySQLOO Lua Module

Go [here](https://github.com/FredyH/MySQLOO/releases) and get the Linux build from the latest release. The latest one is at the top. The Linux build will be called `gmsv_mysqloo_linux.dll`. (Yes, it's a Linux shared object with a .dll extension).

## Upload the Module

The module will need to be uploaded to this directory

`/garrysmod/lua/bin`

For the `gmsv_mysql_linux.dll` file, you'll usually have to create the directory for it manually. Using the File Manager, browse into `/garrysmod/lua`, hit **Create Folder**, type `bin`, upload it there, and you're done.

## Start the Server

After it starts up fully, it'll probably generate some configuration files. Refer to the documentation for your specific addon/gamemode for how to setup MySQL.
