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

Server log, MySQL error. How to fix?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
remote44
Junior Member
Join Date: Jan 2015
Old 01-24-2015 , 05:15   Server log, MySQL error. How to fix?
Reply With Quote #1

Hello!
I have a MySQL server status saver, and when i start the server it says:
Code:
L 01/24/2015 - 11:01:39: [MySQL] Invalid database handle: 0
Code:
L 01/24/2015 - 11:01:39: [AMXX] Displaying debug trace (plugin "mysqlstats.amxx")
L 01/24/2015 - 11:01:39: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
L 01/24/2015 - 11:01:39: [AMXX]    [0] mysqlstats.sma::SequentialData (line 286)
L 01/24/2015 - 11:01:39: [AMXX]    [1] mysqlstats.sma::client_putinserver (line 258)
How to fix this? Ty for any reply

Line 286:
Code:
    result = SQL_PrepareQuery(g_dbc, "INSERT INTO `%s` (authid,name,date,score,kills,teamkills,deaths,hits,shots,headshots,efficiency,accuracy,accuracyHS,kdrate) values('%s','%s',NOW(),%i,%i,%i,%i,%i,%i,%i,%1.2f,%1.2f,%1.2f,%1.2f)", g_ptbname, sAuthid, sName, iScore, iKills, iTK, iDeaths, iHits, iShots, iHS, iEff, iAcc, iAccHS,iKdRate)
Line 256:
Code:
    if(is_user_connected(id)) SequentialData(id)

Last edited by remote44; 01-24-2015 at 05:17.
remote44 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 12:03.


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