Module: JDBCHelper::MySQLConnector Deprecated
- Extended by:
- Connector
- Defined in:
- lib/jdbc-helper/connector/mysql.rb
Overview
Deprecated.
Class Method Summary collapse
Methods included from Connector
check_params, connect_impl, ensure_close
Class Method Details
.connect(host, user, password, db, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/jdbc-helper/connector/mysql.rb', line 27 def self.connect(host, user, password, db, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) check_params extra_params MySQL.connect(host, user, password, db, {:timeout => timeout}.merge(extra_params), &block) end |