~aisrael/charms/trusty/mysql/trunk

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Jorge Niedbalski
  • Date: 2015-03-04 18:00:46 UTC
  • mfrom: (142.1.1 mysql)
  • Revision ID: jorge.niedbalski@canonical.com-20150304180046-y1i8zlvsnmr2g43u
[jjo, r=niedbalski] Fixes bug LP: #1386791

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
else:
178
178
    configs['max-connections'] = 'max_connections = %s' % configs['max-connections']
179
179
 
 
180
if configs['wait-timeout'] == -1:
 
181
    configs['wait-timeout'] = '# wait_timeout = ?'
 
182
else:
 
183
    configs['wait-timeout'] = 'wait_timeout = %s' % configs['wait-timeout']
 
184
 
 
185
 
180
186
if configs['prefer-ipv6']:
181
 
    configs['bind-address'] = '::' 
 
187
    configs['bind-address'] = '::'
182
188
else:
183
189
    configs['bind-address'] = '0.0.0.0'
184
190
 
255
261
# the first time they are touched
256
262
myisam-recover         = BACKUP
257
263
%(max-connections)s
 
264
%(wait-timeout)s
258
265
#table_cache            = 64
259
266
#thread_concurrency     = 10
260
267
#