View Single Post
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