SQL Issues
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Jan 02, 2014 2:24 am
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.
Re: SQL Issues
MySQLOO will just allow the capability of being able to connect to database, if I remember correctly. Your addon/plugin will still need to be connected via its own configs/settings.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
-
- New to forums
- Posts: 2
- Joined: Thu Jan 02, 2014 2:24 am
Re: SQL Issues
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 I need that.
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 I need that.