question

Kaspar avatar image
Kaspar asked

Why I'm getting this error?

Hello, can somebody check this error why im getthing these errors in my logs...

L 04/10/2010 - 14:36:35: [MySQL] Invalid database handle: 0                    
L 04/10/2010 - 14:36:35: [AMXX] Run time error 10 (plugin "user_system.amxx") (native "SQL_PrepareQuery") - debug not enabled!                    
L 04/10/2010 - 14:36:35: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).                    

When i add debug after plugin in plugins.ini:

L 04/10/2010 - 16:20:21: [MySQL] Invalid database handle: 0                    
L 04/10/2010 - 16:20:21: [AMXX] Displaying debug trace (plugin "user_system.amxx")                    
L 04/10/2010 - 16:20:21: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")                    
L 04/10/2010 - 16:20:21: [AMXX] [0] user_system.sma::UserSQL (line 753)                    
L 04/10/2010 - 16:20:21: [AMXX] [1] user_system.sma::client_authorized (line 905)                    

Line 753: new Handle:Query = SQL_PrepareQuery(SqlConnection,"SELECT * FROM %s WHERE user='%s'",SQL_TABLE,name)

Line 905: UserSQL(name,id)

what this error means and what should I do? answer please ?

sql-server-2008
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

graz avatar image graz ♦ commented ·
Is this a SQL Server question or a mySQL question?
0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.