Raised This Month: $ Target: $400
 0% 

Solved CKSurf MySQL database error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Swkor
New Member
Join Date: Jul 2023
Old 07-11-2023 , 03:47   CKSurf MySQL database error
Reply With Quote #1

I've been trying to use a MySQL database on CKSurf (both 1.18f & 1.18kd), though I keep running into the same error.
I'm aware CKSurf is outdated, but looking at the threads, I've seen several posts of people using MySQL.

```
[SM] [1] Line 159, ckSurf/sql_rev_mb4.sp::db_setupDatabase
[SM] [2] Line 2094, D:\DATA_ON_D\Servers STUFF\Server and client addons\NEW PLUGINS\ckSurf 1.18kd Release_GIT\ckSurf-1.18kd-Release-master\Without Discord\addons\sourcemod\scripting\ckSurf_sln _rev743REF2_85c2C_dumb.sp::OnPluginStart
[SM] Unable to load plugin "ckSurf_sln_rev.smx": Error detected in plugin startup (see error logs)
```


Here's my database file:

```
"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" "0"
}

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

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

"cksurf"
{
"driver" "mysql"
"host" "censored"
"database" "swkor_cksurf"
"user" "swkor"
"pass" "censored"
"port" "3306"
}
}
```

Last edited by Swkor; 07-15-2023 at 02:47. Reason: Solved
Swkor is offline
Reply



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 01:16.


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