Raised This Month: $12 Target: $400
 3% 

MySQL: Invalid database Handle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
aequabit
Junior Member
Join Date: Aug 2016
Old 11-01-2016 , 05:17   MySQL: Invalid database Handle
Reply With Quote #1

On Windows everything works fine, but on Linux I get the following error when calling SQL_TQuery:

HTML Code:
L 11/01/2016 - 10:14:41: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 11/01/2016 - 10:14:41: [SM] Blaming: mycoolplugin.smx
L 11/01/2016 - 10:14:41: [SM] Call stack trace:
L 11/01/2016 - 10:14:41: [SM]   [0] SQL_TQuery
L 11/01/2016 - 10:14:41: [SM]   [1] Line 18, D:\sourcemod\scripting\mycoolplugin.sp::OnPluginStart
The MySQL server is running on 127.0.0.1 and the credentials are also valid. Any ideas?

Last edited by aequabit; 11-01-2016 at 05:18.
aequabit is offline
 


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 10:07.


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