Sha256: 58b17b0336543e9be630fb99efb4b0c913cf3c6bd0fe913cbd7ebc2976853863
Contents?: true
Size: 1.38 KB
Versions: 48
Compression:
Stored size: 1.38 KB
Contents
class Mysql < Spider::Master::DbResource PROVIDES = [:db, :mysql] OPTIONS = { :user => { :name => _('MySQL username'), :notes => _('Specify the username to connect with'), :default => 'root' }, :password => { :name => _('MySQL password'), :notes => _('Specify the password to connect with'), :attributes => ['password'] }, :host => { :name => _('MySQL host'), :notes => _("Specify something other than 'localhost' to connect via TCP") }, :port => { :name => _('MySQL port'), :notes => _('Specify the port to connect to MySQL with (if nonstandard)') }, :socket => { :name => _('MySQL socket'), :notes => _('Specify the location of the MySQL socket') } } def plugins { :mysql_query_statistics => { :options => { :user => options[:user], :password => options[:password], :host => options[:host], :port => options[:port], :socket => options[:socket] } :override => true } } end end
Version data entries
48 entries across 48 versions & 1 rubygems