egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysqlclose doesnt work

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
stenen
Voice


Joined: 27 Apr 2007
Posts: 7

PostPosted: Thu Aug 16, 2007 4:22 pm    Post subject: mysqlclose doesnt work Reply with quote

I'm having problems with mysqlclose, and it's resulting in a lot of users not "logging off" mysql.

set g [mysqlconnect -host localhost -user user -password pass -db db]
mysqluse $g db

mysqlclose $g

that piece of code should do it right?

anyhow, the users that dont log off is running the command "sleep", and it becomes quite a list in the end, which results in "Too many connection" in the db
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber