require("mysqloo")
local DATABASE_HOST = "mint.site.nfoservers.com"
local DATABASE_PORT = 3306
local DATABASE_NAME = "blah blah blah"
local DATABASE_USER = "blah blah blah"
local DATABASE_PASS = "blah blah blah"
GM.Database = nil
This is part of the code. I am assuming the require("mysqloo") means ...
Search found 2 matches
- Thu Jan 02, 2014 12:30 pm
- Forum: Garrysmod
- Topic: SQL Issues
- Replies: 2
- Views: 760
- Thu Jan 02, 2014 2:27 am
- Forum: Garrysmod
- Topic: SQL Issues
- Replies: 2
- Views: 760
SQL Issues
Honestly I have no clue how to set this up. I set up the database on the free forums that comes with NFO. I put the MySQLOO in the garrysmod/lua/bin folder and the libMySQL in the first directory possible. Now I am sitting here clueless what to do and how to connect to the database. Please help me.