You are not logged in.

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

1

Tuesday, June 3rd 2014, 2:16am

Driver "mysql" not found

Hallo Community,
mich ärgert wieder mal ein problem, und zwar beschäftige ich mich im moment mit sourcemod coding und habe dieses problem beim laden meines plugins.

Driver "mysql" not found

Also sowas hab ich noch nie gesehen und man findet via google auch nur sperrlich was, darum hoffe ich mir kann hier jemand helfen.

-- Informationen :

Ausschnitt aus meiner databases.cfg

"BonusSystem"
{
"driver" "mysql"
"host" "nicht_localhost" // db ist aber für externe zugriffe frei
"database" "foobar"
"user" "foobar"
"pass" "123456" // <-- lolololol
//"timeout" "0"
//"port" "0"
}

Ausschnitt aus meinem Plugin:

public OnPluginStart(){
new String:Error[512];
DB = SQL_Connect("BonusSystem", true, Error, sizeof(Error));
if(DB == INVALID_HANDLE){
PrintToServer("MYSQL CONNECTION FAILED: %s", Error); // <-- das bekomm ich als error
} else {
PrintToServer("MYSQL CONNECTION SUCCESSFULL");
}
}

Backround info:
also mysql an sich geht via bash oder halt php
OS: Debian 64 (ja alle 32libs müssten drauf sein)
dbi.mysql.ext.so in /cstrike/addons/sourcemod/extensions

Danke für kommende antworten

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

2

Tuesday, June 3rd 2014, 2:18am

aso ja debian wheezy, und in den logs steht auch nix hilfreiches

General

Super Moderator

Posts: 1,043

Location: Mönchengladbach

Occupation: Brückenkranführer / Staplerfahrer

wcf.user.option.userOption53: Nein

  • Send private message

3

Tuesday, June 3rd 2014, 3:21am

Vielleicht hilft dir das ja etwas, https://wiki.alliedmods.net/SQL_(SourceMod_Scripting)

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

4

Tuesday, June 3rd 2014, 3:31am

eher weniger, ohne meinste was konkretes? was ich falsch gemacht hab?

Impact

Super Moderator

Posts: 1,276

wcf.user.option.userOption53: Nein

  • Send private message

5

Tuesday, June 3rd 2014, 9:09am

Im Normalfall kann das nur einen Grund haben, die Extension für Mysql wurde nicht geladen.
Schau nochmal nach ob die Logs wirklich nichts beinhalten, da man ohne diese nicht viel sagen kann.

Du kannst auch mal schauen was dieser Befehl ausgibt:

Source code

1
sm exts list

zipcore

Beginner

Posts: 39

wcf.user.option.userOption53: Ja

  • Send private message

6

Tuesday, June 3rd 2014, 12:59pm

joar ich glaube auch dass es daran liegt, dass bei dir die extension nicht geladen wurde, denn der fehler kommt genau dann, sqlite geht dann aber noch

die extension heißt übrigends MySQL-DBI ;)

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

7

Tuesday, June 3rd 2014, 1:07pm

sm exts list
"Automatic Updater" (1.5.2) by AlliedModders LLC: Updates SourceMod gamedata files
"Webternet" (1.5.2) by AlliedModders LLC: Extension for interacting with URLs
"SDK Tools" (1.5.2) by AlliedModders LLC: Source SDK Tools
"Top Menus" (1.5.2) by AlliedModders: Creates sorted nested menus
"CS Tools" (1.5.2) by AlliedModders LLC: CS extended functionality
"Client Preferences" (1.5.2) by AlliedModders: Saves client preference settings
"BinTools" (1.5.2) by AlliedModders LLC: Low-level C/C++ Calling API
"SQLite" (1.5.2) by AlliedModders LLC: SQLite Driver

in der tat die extention fehlt. könnt ihr mir vllt noch sagen wie ich die geladen bekomme?

ein vielen dank schon mal an euch <3

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

8

Tuesday, June 3rd 2014, 1:14pm

sm_rcon sm exts load dbi.mysql.ext.so

[SM] Loaded extension dbi.mysql.ext.so successfully.

sm exts list

"Automatic Updater" (1.5.2) by AlliedModders LLC: Updates SourceMod gamedata files
"Webternet" (1.5.2) by AlliedModders LLC: Extension for interacting with URLs
"BinTools" (1.5.2) by AlliedModders LLC: Low-level C/C++ Calling API
"CS Tools" (1.5.2) by AlliedModders LLC: CS extended functionality
"SDK Tools" (1.5.2) by AlliedModders LLC: Source SDK Tools
"Top Menus" (1.5.2) by AlliedModders: Creates sorted nested menus
"Client Preferences" (1.5.2) by AlliedModders: Saves client preference settings
"SQLite" (1.5.2) by AlliedModders LLC: SQLite Driver

der lädt die nicht?

Bara

Professional

Posts: 834

wcf.user.option.userOption53: Ja

  • Send private message

9

Tuesday, June 3rd 2014, 1:41pm

Versuch doch mal eine Snapshot Version ( 1.5.4 ) http://www.sourcemod.net/snapshots.php

  • "xKillerfeexDD" started this thread

Posts: 32

Location: dresden

Occupation: student: informatik

wcf.user.option.userOption53: Ja

  • Send private message

10

Tuesday, June 3rd 2014, 6:19pm

Danke Bara, zipcore, Impact,

Funktioniert jetzt <3

Similar threads