MySql Configuration for Gmod Pointshop

Post Reply
ChosenOne
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Aug 03, 2013 10:28 pm

MySql Configuration for Gmod Pointshop

Post by ChosenOne »

I am renting both a server and a webhost through NFO. Under the web host part of the control panel, I have created a database called nexgengaming_pointshop. Under the sh_config.lua for the pointshop addon, I have PS.Config.DataProvider = 'MySql'. I have the mysqloo module located in both garrysmod/lua/bin and garrysmod/bin. I have libmysql located in both main directory and main directory/bin. I have configured mysql.lua within the pointshop mysql folder to have these configurations:

Code: Select all

local mysql_hostname = 'nexgengaminggroup.com' -- Your MySQL server address.
local mysql_username = 'xxxxxx' -- Your MySQL username.
local mysql_password = 'xxxx' -- Your MySQL password.
local mysql_database = 'nexgengaming_pointshop' -- Your MySQL database.
local mysql_port = 3306 -- Your MySQL port. Most likely is 3306.
The host name is what the control panel says it should be:
Hostname: localhost (for external connections, use nexgengaminggroup.com)

I have the nexgengaming_pointshop database check marked to accept external connections.

I have also logged into the database and imported the pointshop.sql file.

After all of this, it still shows the database as empty. Any help would be greatly appreciated.
ChosenOne
New to forums
New to forums
Posts: 6
Joined: Sat Aug 03, 2013 10:28 pm

Re: MySql Configuration for Gmod Pointshop

Post by ChosenOne »

Never mind, Solved it just now!! :)
Post Reply