-
-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sean OMeara <[email protected]>
- Loading branch information
Julian C. Dunn
authored and
Sean OMeara
committed
Dec 21, 2013
1 parent
ed0aecb
commit ce16693
Showing
3 changed files
with
40 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
case node['platform_family'] | ||
when 'windows' | ||
default['mysql']['windows']['package_file'] = "mysql-#{mysql['version']}-#{mysql['arch']}.msi" | ||
default['mysql']['windows']['version'] = '5.5.34' | ||
default['mysql']['windows']['arch'] = node['kernel']['machine'] == 'x86_64' ? 'winx64' : 'win32' | ||
default['mysql']['windows']['package_file'] = "mysql-#{node['mysql']['windows']['version']}-#{node['mysql']['windows']['arch']}.msi" | ||
default['mysql']['windows']['packages'] = ['MySQL Server 5.5'] | ||
default['mysql']['windows']['url'] = "http://www.mysql.com/get/Downloads/MySQL-5.5/#{mysql['package_file']}/from/http://mysql.mirrors.pair.com/" | ||
default['mysql']['windows']['version'] = '5.5.32' | ||
# default['mysql']['windows']['arch'] = 'win32' | ||
default['mysql']['windows']['url'] = "http://dev.mysql.com/get/Downloads/MySQL-5.5/#{node['mysql']['windows']['package_file']}" | ||
|
||
default['mysql']['windows']['basedir'] = "#{ENV['SYSTEMDRIVE']}\\Program Files (x86)\\MySQL\\#{mysql['server']['packages'].first}" | ||
default['mysql']['windows']['data_dir'] = "#{node['mysql']['windows']['basedir']}\\Data" | ||
default['mysql']['windows']['programdir'] = node['kernel']['machine'] == 'x86_64' ? 'Program Files' : 'Program Files (x86)' | ||
default['mysql']['windows']['basedir'] = "#{ENV['SYSTEMDRIVE']}\\#{node['mysql']['windows']['programdir']}\\MySQL\\#{node['mysql']['windows']['packages'].first}" | ||
default['mysql']['windows']['data_dir'] = "#{ENV['ProgramData']}\\MySQL\\#{node['mysql']['windows']['packages'].first}\\Data" | ||
default['mysql']['windows']['bin_dir'] = "#{node['mysql']['windows']['basedir']}\\bin" | ||
default['mysql']['windows']['mysqladmin_bin'] = "#{node['mysql']['windows']['bin_dir']}\\mysqladmin" | ||
default['mysql']['windows']['mysql_bin'] = "#{node['mysql']['windows']['bin_dir']}\\mysql" | ||
|
||
default['mysql']['windows']['conf_dir'] = node['mysql']['windows']['basedir'] | ||
default['mysql']['windows']['old_passwords'] = 0 | ||
default['mysql']['windows']['grants_path'] = "#{node['mysql']['conf_dir']}\\grants.sql" | ||
default['mysql']['windows']['grants_path'] = "#{node['mysql']['windows']['conf_dir']}\\grants.sql" | ||
|
||
default['mysql']['server']['service_name'] = 'mysql' | ||
default['mysql']['server']['slow_query_log'] = 1 | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters