Change mysql default charset to utf8
Changed the default charset to uf8 and the collation to utf8_unicode_ci. Change-Id: Iac22a6f66e889157bd1f327da50e0186e04651dc
This commit is contained in:
parent
3fc1cc41cb
commit
dba437e8af
@ -13,8 +13,8 @@ class glance::db::mysql(
|
||||
$user = 'glance',
|
||||
$host = '127.0.0.1',
|
||||
$allowed_hosts = undef,
|
||||
$charset = 'latin1',
|
||||
$collate = 'latin1_swedish_ci',
|
||||
$charset = 'utf8',
|
||||
$collate = 'utf8_unicode_ci',
|
||||
$cluster_id = 'localzone',
|
||||
$mysql_module = '0.9'
|
||||
) {
|
||||
|
@ -24,7 +24,7 @@ describe 'glance::db::mysql' do
|
||||
it { should contain_mysql__db('glance').with(
|
||||
:password => 'glancepass1',
|
||||
:require => 'Class[Mysql::Config]',
|
||||
:charset => 'latin1'
|
||||
:charset => 'utf8'
|
||||
)}
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user