Raised This Month: $9 Target: $400
 2% 

need help at database - CTBAN PLUGIN


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheDestroyer
Junior Member
Join Date: Aug 2019
Old 08-11-2019 , 13:38   need help at database - CTBAN PLUGIN
Reply With Quote #1

My database Code:

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" ""
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

How do I use it ? ctban plugin not working error:
sm_ctban.smx (CT Ban): Error while connecting to default database what do I need to add to fix it?
Please help, thx for reading
TheDestroyer is offline
TheDestroyer
Junior Member
Join Date: Aug 2019
Old 08-11-2019 , 13:41   Re: need help at database - CTBAN PLUGIN
Reply With Quote #2

here is the file
Attached Files
File Type: cfg databases.cfg (586 Bytes, 11 views)

Last edited by TheDestroyer; 08-11-2019 at 13:43.
TheDestroyer is offline
Cooky
Veteran Member
Join Date: Jun 2010
Location: 127.0.0.1
Old 08-12-2019 , 03:58   Re: need help at database - CTBAN PLUGIN
Reply With Quote #3

Just follow the steps in the thread itself: https://forums.alliedmods.net/showpo...01&postcount=1

It's using clientprefs as far as I can see. Why is it using username "root"?
__________________
Cooky is offline
TomL.
Senior Member
Join Date: Oct 2017
Location: Germany
Old 08-12-2019 , 09:23   Re: need help at database - CTBAN PLUGIN
Reply With Quote #4

Quote:
Originally Posted by Cooky View Post
Just follow the steps in the thread itself: https://forums.alliedmods.net/showpo...01&postcount=1

It's using clientprefs as far as I can see. Why is it using username "root"?
That's the default database.cfg ;)
He's using sqlite with another database now.

Last edited by TomL.; 08-12-2019 at 09:57.
TomL. is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:52.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode