Garry's Mod Leaks

SantosRP Guide on how to fix the SQL Error

Submitted by SantosDev, , Thread ID: 82488

Thread Closed
31-03-2018, 09:23 PM
This post was last modified: 31-03-2018, 09:24 PM by SantosDev
#1
Hello, I have been seeing a lot of people saying that there Santos files don't work well I'mhere to fix it.


Credibility: I'm a Developer for a lot of Santos servers, and I have owned a couple

What you need:
1. Working Server

2. Working Santos Files

3. A Santos MySQL database

4. A MySql Hosting provider

Alright first you want to Identify the Issue
if you have this issue this will tutorial will work for you
[ERROR] gamemodes/santosrp/gamemode/sv_mysql.lua:25: Unable to initialize a database connection! Error: Access denied for user '' (using password: YES)
1. ConnectReadOnly - [C]:-1
2. Connect - gamemodes/santosrp/gamemode/sv_mysql.lua:25
3. unknown - gamemodes/santosrp/gamemode/init.lua:50

Then you want to buy a MySql Database host and put in the DataBase.sql you have to obtain some how
I won't sell it or leak it but I know this guy leaked it.
https://nulledbb.com/thread-Galaxy-Gamin...Prometheus


First, you want to go to your Santosrp files like this
santosrp\gamemode\sv_config
and you will see this

if DEV_SERVER then

GM.Config.SQLHostName = ""

GM.Config.SQLUserName = ""

GM.Config.SQLPassword = ""

GM.Config.SQLDBName = ""

else

GM.Config.SQLHostName = ""

GM.Config.SQLUserName = ""

GM.Config.SQLPassword = ""

GM.Config.SQLDBName = ""
end

and you want to fill in all the data from the MySQL host


If this is vague and you need more help contact me @ [email protected]

Users browsing this thread: 3 Guest(s)