Displaying 1 result from an estimated 1 matches for "sql_port".
Did you mean:
dl_port
2006 Sep 03
1
Kill my Thread
...e it doesn''t and goes on doing other stuff. Of course...there
are lots of work arounds for this, but how do i make sure that, the thread
is killed at that point of time.
begin
@dbh = Mysql.real_connect
("localhost","root","","typo_#{username}", at sql_port, at blog_socket)
rescue Exception => e
@logger.debug("### Error connecting to the database : #{e.to_s}")
kill
end
--
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/...