Mesharsky / Simple-Reports

[ANY] Simple report plugin
GNU General Public License v3.0
7 stars 3 forks source link

[SM] Exception reported: Failed to connect to database 'reports'. #7

Closed D3V1L9 closed 1 year ago

D3V1L9 commented 1 year ago

I added the "reports" to my database.cfg and isn't working

[SM] [1] Line 130, c:\Users\Mesha\Desktop\Github\Simple Reports\addons\sourcemod\scripting\reports.sp::OnConfigsExecuted

My database.cfg

"reports" { "driver" "mysql" "host" "localhost" "database" "reports" "user" "myuser" "pass" "mypass" }

m4csim commented 1 year ago

Try to specify the port or the real localhost address of your database

Mesharsky commented 1 year ago

Plugin works fine. You need working credentials for mysql database for plugin to work. Either server hosting can provide with free database or you can create it locally / buy it somewhere.