3ba1f0d955
this fixes mysql v8.x. in mysql 8.0+ utf8mb3 is deprecated and utf8 alias doesn't work. Change-Id: I548eb43a3d5adbd84957b6b92d4b172bfdfb80a8
38 lines
702 B
JSON
38 lines
702 B
JSON
{
|
|
"instance": {
|
|
"name": "test",
|
|
"flavorRef": 1,
|
|
"volume": {"size": 2},
|
|
"nics": [{"net-id": "a5330d7d-0e8c-48b4-9f6c-0f2c4ab1b854"}],
|
|
"datastore": {
|
|
"type": "mysql",
|
|
"version": "5.7"
|
|
},
|
|
"databases": [
|
|
{
|
|
"character_set": "utf8mb3",
|
|
"collate": "utf8mb3_general_ci",
|
|
"name": "sampledb"
|
|
},
|
|
{
|
|
"name": "nextround"
|
|
}
|
|
],
|
|
"users": [
|
|
{
|
|
"databases": [
|
|
{
|
|
"name": "sampledb"
|
|
}
|
|
],
|
|
"name": "demouser",
|
|
"password": "demopassword"
|
|
}
|
|
],
|
|
"access": {
|
|
"is_public": true,
|
|
"allowed_cidrs": ["202.78.240.0/24"]
|
|
}
|
|
}
|
|
}
|