linode.DatabaseMysqlV2
Explore with Pulumi AI
Provides a Linode MySQL Database resource. This can be used to create, modify, and delete Linode MySQL Databases. For more information, see the Linode APIv4 docs.
Please keep in mind that Managed Databases can take up to half an hour to provision.
Example Usage
Creating a simple MySQL database that does not allow connections:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMysqlV2("foobar", {
label: "mydatabase",
engineId: "mysql/8",
region: "us-mia",
type: "g6-nanode-1",
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMysqlV2("foobar",
label="mydatabase",
engine_id="mysql/8",
region="us-mia",
type="g6-nanode-1")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMysqlV2(ctx, "foobar", &linode.DatabaseMysqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("mysql/8"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMysqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "mysql/8",
Region = "us-mia",
Type = "g6-nanode-1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMysqlV2;
import com.pulumi.linode.DatabaseMysqlV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMysqlV2("foobar", DatabaseMysqlV2Args.builder()
.label("mydatabase")
.engineId("mysql/8")
.region("us-mia")
.type("g6-nanode-1")
.build());
}
}
resources:
foobar:
type: linode:DatabaseMysqlV2
properties:
label: mydatabase
engineId: mysql/8
region: us-mia
type: g6-nanode-1
Creating a simple MySQL database that allows connections from all IPv4 addresses:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMysqlV2("foobar", {
label: "mydatabase",
engineId: "mysql/8",
region: "us-mia",
type: "g6-nanode-1",
allowLists: ["0.0.0.0/0"],
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMysqlV2("foobar",
label="mydatabase",
engine_id="mysql/8",
region="us-mia",
type="g6-nanode-1",
allow_lists=["0.0.0.0/0"])
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMysqlV2(ctx, "foobar", &linode.DatabaseMysqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("mysql/8"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
AllowLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMysqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "mysql/8",
Region = "us-mia",
Type = "g6-nanode-1",
AllowLists = new[]
{
"0.0.0.0/0",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMysqlV2;
import com.pulumi.linode.DatabaseMysqlV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMysqlV2("foobar", DatabaseMysqlV2Args.builder()
.label("mydatabase")
.engineId("mysql/8")
.region("us-mia")
.type("g6-nanode-1")
.allowLists("0.0.0.0/0")
.build());
}
}
resources:
foobar:
type: linode:DatabaseMysqlV2
properties:
label: mydatabase
engineId: mysql/8
region: us-mia
type: g6-nanode-1
allowLists:
- 0.0.0.0/0
Creating a complex MySQL database:
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
foobar:
type: linode:DatabaseMysqlV2
properties:
label: mydatabase
engineId: mysql/8
region: us-mia
type: g6-nanode-1
allowLists:
- 10.0.0.3/32
clusterSize: 3
updates:
duration: 4
frequency: weekly
hour_of_day: 22
day_of_week: 3
Creating a MySQL database with engine config fields specified:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMysqlV2("foobar", {
label: "mydatabase",
engineId: "mysql/8",
region: "us-mia",
type: "g6-nanode-1",
engineConfigBinlogRetentionPeriod: 3600,
engineConfigMysqlConnectTimeout: 10,
engineConfigMysqlDefaultTimeZone: "+00:00",
engineConfigMysqlGroupConcatMaxLen: 4096,
engineConfigMysqlInformationSchemaStatsExpiry: 3600,
engineConfigMysqlInnodbChangeBufferMaxSize: 25,
engineConfigMysqlInnodbFlushNeighbors: 0,
engineConfigMysqlInnodbFtMinTokenSize: 7,
engineConfigMysqlInnodbFtServerStopwordTable: "mysql/innodb_ft_default_stopword",
engineConfigMysqlInnodbLockWaitTimeout: 300,
engineConfigMysqlInnodbLogBufferSize: 16777216,
engineConfigMysqlInnodbOnlineAlterLogMaxSize: 268435456,
engineConfigMysqlInnodbReadIoThreads: 4,
engineConfigMysqlInnodbRollbackOnTimeout: true,
engineConfigMysqlInnodbThreadConcurrency: 8,
engineConfigMysqlInnodbWriteIoThreads: 4,
engineConfigMysqlInteractiveTimeout: 300,
engineConfigMysqlInternalTmpMemStorageEngine: "TempTable",
engineConfigMysqlMaxAllowedPacket: 67108864,
engineConfigMysqlMaxHeapTableSize: 16777216,
engineConfigMysqlNetBufferLength: 16384,
engineConfigMysqlNetReadTimeout: 30,
engineConfigMysqlNetWriteTimeout: 30,
engineConfigMysqlSortBufferSize: 262144,
engineConfigMysqlSqlMode: "TRADITIONAL,ANSI",
engineConfigMysqlSqlRequirePrimaryKey: false,
engineConfigMysqlTmpTableSize: 16777216,
engineConfigMysqlWaitTimeout: 28800,
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMysqlV2("foobar",
label="mydatabase",
engine_id="mysql/8",
region="us-mia",
type="g6-nanode-1",
engine_config_binlog_retention_period=3600,
engine_config_mysql_connect_timeout=10,
engine_config_mysql_default_time_zone="+00:00",
engine_config_mysql_group_concat_max_len=4096,
engine_config_mysql_information_schema_stats_expiry=3600,
engine_config_mysql_innodb_change_buffer_max_size=25,
engine_config_mysql_innodb_flush_neighbors=0,
engine_config_mysql_innodb_ft_min_token_size=7,
engine_config_mysql_innodb_ft_server_stopword_table="mysql/innodb_ft_default_stopword",
engine_config_mysql_innodb_lock_wait_timeout=300,
engine_config_mysql_innodb_log_buffer_size=16777216,
engine_config_mysql_innodb_online_alter_log_max_size=268435456,
engine_config_mysql_innodb_read_io_threads=4,
engine_config_mysql_innodb_rollback_on_timeout=True,
engine_config_mysql_innodb_thread_concurrency=8,
engine_config_mysql_innodb_write_io_threads=4,
engine_config_mysql_interactive_timeout=300,
engine_config_mysql_internal_tmp_mem_storage_engine="TempTable",
engine_config_mysql_max_allowed_packet=67108864,
engine_config_mysql_max_heap_table_size=16777216,
engine_config_mysql_net_buffer_length=16384,
engine_config_mysql_net_read_timeout=30,
engine_config_mysql_net_write_timeout=30,
engine_config_mysql_sort_buffer_size=262144,
engine_config_mysql_sql_mode="TRADITIONAL,ANSI",
engine_config_mysql_sql_require_primary_key=False,
engine_config_mysql_tmp_table_size=16777216,
engine_config_mysql_wait_timeout=28800)
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMysqlV2(ctx, "foobar", &linode.DatabaseMysqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("mysql/8"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
EngineConfigBinlogRetentionPeriod: pulumi.Int(3600),
EngineConfigMysqlConnectTimeout: pulumi.Int(10),
EngineConfigMysqlDefaultTimeZone: pulumi.String("+00:00"),
EngineConfigMysqlGroupConcatMaxLen: pulumi.Float64(4096),
EngineConfigMysqlInformationSchemaStatsExpiry: pulumi.Int(3600),
EngineConfigMysqlInnodbChangeBufferMaxSize: pulumi.Int(25),
EngineConfigMysqlInnodbFlushNeighbors: pulumi.Int(0),
EngineConfigMysqlInnodbFtMinTokenSize: pulumi.Int(7),
EngineConfigMysqlInnodbFtServerStopwordTable: pulumi.String("mysql/innodb_ft_default_stopword"),
EngineConfigMysqlInnodbLockWaitTimeout: pulumi.Int(300),
EngineConfigMysqlInnodbLogBufferSize: pulumi.Int(16777216),
EngineConfigMysqlInnodbOnlineAlterLogMaxSize: pulumi.Int(268435456),
EngineConfigMysqlInnodbReadIoThreads: pulumi.Int(4),
EngineConfigMysqlInnodbRollbackOnTimeout: pulumi.Bool(true),
EngineConfigMysqlInnodbThreadConcurrency: pulumi.Int(8),
EngineConfigMysqlInnodbWriteIoThreads: pulumi.Int(4),
EngineConfigMysqlInteractiveTimeout: pulumi.Int(300),
EngineConfigMysqlInternalTmpMemStorageEngine: pulumi.String("TempTable"),
EngineConfigMysqlMaxAllowedPacket: pulumi.Int(67108864),
EngineConfigMysqlMaxHeapTableSize: pulumi.Int(16777216),
EngineConfigMysqlNetBufferLength: pulumi.Int(16384),
EngineConfigMysqlNetReadTimeout: pulumi.Int(30),
EngineConfigMysqlNetWriteTimeout: pulumi.Int(30),
EngineConfigMysqlSortBufferSize: pulumi.Int(262144),
EngineConfigMysqlSqlMode: pulumi.String("TRADITIONAL,ANSI"),
EngineConfigMysqlSqlRequirePrimaryKey: pulumi.Bool(false),
EngineConfigMysqlTmpTableSize: pulumi.Int(16777216),
EngineConfigMysqlWaitTimeout: pulumi.Int(28800),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMysqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "mysql/8",
Region = "us-mia",
Type = "g6-nanode-1",
EngineConfigBinlogRetentionPeriod = 3600,
EngineConfigMysqlConnectTimeout = 10,
EngineConfigMysqlDefaultTimeZone = "+00:00",
EngineConfigMysqlGroupConcatMaxLen = 4096,
EngineConfigMysqlInformationSchemaStatsExpiry = 3600,
EngineConfigMysqlInnodbChangeBufferMaxSize = 25,
EngineConfigMysqlInnodbFlushNeighbors = 0,
EngineConfigMysqlInnodbFtMinTokenSize = 7,
EngineConfigMysqlInnodbFtServerStopwordTable = "mysql/innodb_ft_default_stopword",
EngineConfigMysqlInnodbLockWaitTimeout = 300,
EngineConfigMysqlInnodbLogBufferSize = 16777216,
EngineConfigMysqlInnodbOnlineAlterLogMaxSize = 268435456,
EngineConfigMysqlInnodbReadIoThreads = 4,
EngineConfigMysqlInnodbRollbackOnTimeout = true,
EngineConfigMysqlInnodbThreadConcurrency = 8,
EngineConfigMysqlInnodbWriteIoThreads = 4,
EngineConfigMysqlInteractiveTimeout = 300,
EngineConfigMysqlInternalTmpMemStorageEngine = "TempTable",
EngineConfigMysqlMaxAllowedPacket = 67108864,
EngineConfigMysqlMaxHeapTableSize = 16777216,
EngineConfigMysqlNetBufferLength = 16384,
EngineConfigMysqlNetReadTimeout = 30,
EngineConfigMysqlNetWriteTimeout = 30,
EngineConfigMysqlSortBufferSize = 262144,
EngineConfigMysqlSqlMode = "TRADITIONAL,ANSI",
EngineConfigMysqlSqlRequirePrimaryKey = false,
EngineConfigMysqlTmpTableSize = 16777216,
EngineConfigMysqlWaitTimeout = 28800,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMysqlV2;
import com.pulumi.linode.DatabaseMysqlV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMysqlV2("foobar", DatabaseMysqlV2Args.builder()
.label("mydatabase")
.engineId("mysql/8")
.region("us-mia")
.type("g6-nanode-1")
.engineConfigBinlogRetentionPeriod(3600)
.engineConfigMysqlConnectTimeout(10)
.engineConfigMysqlDefaultTimeZone("+00:00")
.engineConfigMysqlGroupConcatMaxLen(4096.0)
.engineConfigMysqlInformationSchemaStatsExpiry(3600)
.engineConfigMysqlInnodbChangeBufferMaxSize(25)
.engineConfigMysqlInnodbFlushNeighbors(0)
.engineConfigMysqlInnodbFtMinTokenSize(7)
.engineConfigMysqlInnodbFtServerStopwordTable("mysql/innodb_ft_default_stopword")
.engineConfigMysqlInnodbLockWaitTimeout(300)
.engineConfigMysqlInnodbLogBufferSize(16777216)
.engineConfigMysqlInnodbOnlineAlterLogMaxSize(268435456)
.engineConfigMysqlInnodbReadIoThreads(4)
.engineConfigMysqlInnodbRollbackOnTimeout(true)
.engineConfigMysqlInnodbThreadConcurrency(8)
.engineConfigMysqlInnodbWriteIoThreads(4)
.engineConfigMysqlInteractiveTimeout(300)
.engineConfigMysqlInternalTmpMemStorageEngine("TempTable")
.engineConfigMysqlMaxAllowedPacket(67108864)
.engineConfigMysqlMaxHeapTableSize(16777216)
.engineConfigMysqlNetBufferLength(16384)
.engineConfigMysqlNetReadTimeout(30)
.engineConfigMysqlNetWriteTimeout(30)
.engineConfigMysqlSortBufferSize(262144)
.engineConfigMysqlSqlMode("TRADITIONAL,ANSI")
.engineConfigMysqlSqlRequirePrimaryKey(false)
.engineConfigMysqlTmpTableSize(16777216)
.engineConfigMysqlWaitTimeout(28800)
.build());
}
}
resources:
foobar:
type: linode:DatabaseMysqlV2
properties:
label: mydatabase
engineId: mysql/8
region: us-mia
type: g6-nanode-1
engineConfigBinlogRetentionPeriod: 3600
engineConfigMysqlConnectTimeout: 10
engineConfigMysqlDefaultTimeZone: +00:00
engineConfigMysqlGroupConcatMaxLen: 4096
engineConfigMysqlInformationSchemaStatsExpiry: 3600
engineConfigMysqlInnodbChangeBufferMaxSize: 25
engineConfigMysqlInnodbFlushNeighbors: 0
engineConfigMysqlInnodbFtMinTokenSize: 7
engineConfigMysqlInnodbFtServerStopwordTable: mysql/innodb_ft_default_stopword
engineConfigMysqlInnodbLockWaitTimeout: 300
engineConfigMysqlInnodbLogBufferSize: 1.6777216e+07
engineConfigMysqlInnodbOnlineAlterLogMaxSize: 2.68435456e+08
engineConfigMysqlInnodbReadIoThreads: 4
engineConfigMysqlInnodbRollbackOnTimeout: true
engineConfigMysqlInnodbThreadConcurrency: 8
engineConfigMysqlInnodbWriteIoThreads: 4
engineConfigMysqlInteractiveTimeout: 300
engineConfigMysqlInternalTmpMemStorageEngine: TempTable
engineConfigMysqlMaxAllowedPacket: 6.7108864e+07
engineConfigMysqlMaxHeapTableSize: 1.6777216e+07
engineConfigMysqlNetBufferLength: 16384
engineConfigMysqlNetReadTimeout: 30
engineConfigMysqlNetWriteTimeout: 30
engineConfigMysqlSortBufferSize: 262144
engineConfigMysqlSqlMode: TRADITIONAL,ANSI
engineConfigMysqlSqlRequirePrimaryKey: false
engineConfigMysqlTmpTableSize: 1.6777216e+07
engineConfigMysqlWaitTimeout: 28800
Creating a forked MySQL database:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMysqlV2("foobar", {
label: "mydatabase",
engineId: "mysql/8",
region: "us-mia",
type: "g6-nanode-1",
forkSource: 12345,
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMysqlV2("foobar",
label="mydatabase",
engine_id="mysql/8",
region="us-mia",
type="g6-nanode-1",
fork_source=12345)
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMysqlV2(ctx, "foobar", &linode.DatabaseMysqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("mysql/8"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
ForkSource: pulumi.Int(12345),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMysqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "mysql/8",
Region = "us-mia",
Type = "g6-nanode-1",
ForkSource = 12345,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMysqlV2;
import com.pulumi.linode.DatabaseMysqlV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMysqlV2("foobar", DatabaseMysqlV2Args.builder()
.label("mydatabase")
.engineId("mysql/8")
.region("us-mia")
.type("g6-nanode-1")
.forkSource(12345)
.build());
}
}
resources:
foobar:
type: linode:DatabaseMysqlV2
properties:
label: mydatabase
engineId: mysql/8
region: us-mia
type: g6-nanode-1
forkSource: 12345
NOTE: The name of the default database in the returned database cluster is
defaultdb
.
pending_updates
The following arguments are exposed by each entry in the pending_updates
attribute:
deadline
- The time when a mandatory update needs to be applied.description
- A description of the update.planned_for
- The date and time a maintenance update will be applied.
updates
The following arguments are supported in the updates
specification block:
day_of_week
- (Required) The day to perform maintenance. (monday
,tuesday
, …)duration
- (Required) The maximum maintenance window time in hours. (1
..3
)frequency
- (Required) The frequency at which maintenance occurs. (weekly
)hour_of_day
- (Required) The hour to begin maintenance based in UTC time. (0
..23
)
Create DatabaseMysqlV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseMysqlV2(name: string, args: DatabaseMysqlV2Args, opts?: CustomResourceOptions);
@overload
def DatabaseMysqlV2(resource_name: str,
args: DatabaseMysqlV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseMysqlV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_id: Optional[str] = None,
type: Optional[str] = None,
region: Optional[str] = None,
label: Optional[str] = None,
engine_config_mysql_interactive_timeout: Optional[int] = None,
engine_config_mysql_max_heap_table_size: Optional[int] = None,
engine_config_mysql_information_schema_stats_expiry: Optional[int] = None,
engine_config_mysql_innodb_change_buffer_max_size: Optional[int] = None,
engine_config_mysql_innodb_flush_neighbors: Optional[int] = None,
engine_config_mysql_innodb_ft_min_token_size: Optional[int] = None,
engine_config_mysql_innodb_ft_server_stopword_table: Optional[str] = None,
engine_config_mysql_innodb_lock_wait_timeout: Optional[int] = None,
engine_config_mysql_innodb_log_buffer_size: Optional[int] = None,
engine_config_mysql_innodb_online_alter_log_max_size: Optional[int] = None,
engine_config_mysql_innodb_read_io_threads: Optional[int] = None,
engine_config_mysql_innodb_rollback_on_timeout: Optional[bool] = None,
engine_config_mysql_innodb_thread_concurrency: Optional[int] = None,
engine_config_mysql_innodb_write_io_threads: Optional[int] = None,
allow_lists: Optional[Sequence[str]] = None,
engine_config_mysql_internal_tmp_mem_storage_engine: Optional[str] = None,
engine_config_mysql_max_allowed_packet: Optional[int] = None,
engine_config_mysql_group_concat_max_len: Optional[float] = None,
engine_config_mysql_net_buffer_length: Optional[int] = None,
engine_config_mysql_net_read_timeout: Optional[int] = None,
engine_config_mysql_net_write_timeout: Optional[int] = None,
engine_config_mysql_sort_buffer_size: Optional[int] = None,
engine_config_mysql_sql_mode: Optional[str] = None,
engine_config_mysql_sql_require_primary_key: Optional[bool] = None,
engine_config_mysql_tmp_table_size: Optional[int] = None,
engine_config_mysql_wait_timeout: Optional[int] = None,
engine_config_mysql_default_time_zone: Optional[str] = None,
fork_restore_time: Optional[str] = None,
fork_source: Optional[int] = None,
engine_config_mysql_connect_timeout: Optional[int] = None,
engine_config_binlog_retention_period: Optional[int] = None,
suspended: Optional[bool] = None,
timeouts: Optional[DatabaseMysqlV2TimeoutsArgs] = None,
cluster_size: Optional[int] = None,
updates: Optional[DatabaseMysqlV2UpdatesArgs] = None)
func NewDatabaseMysqlV2(ctx *Context, name string, args DatabaseMysqlV2Args, opts ...ResourceOption) (*DatabaseMysqlV2, error)
public DatabaseMysqlV2(string name, DatabaseMysqlV2Args args, CustomResourceOptions? opts = null)
public DatabaseMysqlV2(String name, DatabaseMysqlV2Args args)
public DatabaseMysqlV2(String name, DatabaseMysqlV2Args args, CustomResourceOptions options)
type: linode:DatabaseMysqlV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseMysqlV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseMysqlV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseMysqlV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseMysqlV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseMysqlV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var databaseMysqlV2Resource = new Linode.DatabaseMysqlV2("databaseMysqlV2Resource", new()
{
EngineId = "string",
Type = "string",
Region = "string",
Label = "string",
EngineConfigMysqlInteractiveTimeout = 0,
EngineConfigMysqlMaxHeapTableSize = 0,
EngineConfigMysqlInformationSchemaStatsExpiry = 0,
EngineConfigMysqlInnodbChangeBufferMaxSize = 0,
EngineConfigMysqlInnodbFlushNeighbors = 0,
EngineConfigMysqlInnodbFtMinTokenSize = 0,
EngineConfigMysqlInnodbFtServerStopwordTable = "string",
EngineConfigMysqlInnodbLockWaitTimeout = 0,
EngineConfigMysqlInnodbLogBufferSize = 0,
EngineConfigMysqlInnodbOnlineAlterLogMaxSize = 0,
EngineConfigMysqlInnodbReadIoThreads = 0,
EngineConfigMysqlInnodbRollbackOnTimeout = false,
EngineConfigMysqlInnodbThreadConcurrency = 0,
EngineConfigMysqlInnodbWriteIoThreads = 0,
AllowLists = new[]
{
"string",
},
EngineConfigMysqlInternalTmpMemStorageEngine = "string",
EngineConfigMysqlMaxAllowedPacket = 0,
EngineConfigMysqlGroupConcatMaxLen = 0,
EngineConfigMysqlNetBufferLength = 0,
EngineConfigMysqlNetReadTimeout = 0,
EngineConfigMysqlNetWriteTimeout = 0,
EngineConfigMysqlSortBufferSize = 0,
EngineConfigMysqlSqlMode = "string",
EngineConfigMysqlSqlRequirePrimaryKey = false,
EngineConfigMysqlTmpTableSize = 0,
EngineConfigMysqlWaitTimeout = 0,
EngineConfigMysqlDefaultTimeZone = "string",
ForkRestoreTime = "string",
ForkSource = 0,
EngineConfigMysqlConnectTimeout = 0,
EngineConfigBinlogRetentionPeriod = 0,
Suspended = false,
Timeouts = new Linode.Inputs.DatabaseMysqlV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
ClusterSize = 0,
Updates = new Linode.Inputs.DatabaseMysqlV2UpdatesArgs
{
DayOfWeek = 0,
Duration = 0,
Frequency = "string",
HourOfDay = 0,
},
});
example, err := linode.NewDatabaseMysqlV2(ctx, "databaseMysqlV2Resource", &linode.DatabaseMysqlV2Args{
EngineId: pulumi.String("string"),
Type: pulumi.String("string"),
Region: pulumi.String("string"),
Label: pulumi.String("string"),
EngineConfigMysqlInteractiveTimeout: pulumi.Int(0),
EngineConfigMysqlMaxHeapTableSize: pulumi.Int(0),
EngineConfigMysqlInformationSchemaStatsExpiry: pulumi.Int(0),
EngineConfigMysqlInnodbChangeBufferMaxSize: pulumi.Int(0),
EngineConfigMysqlInnodbFlushNeighbors: pulumi.Int(0),
EngineConfigMysqlInnodbFtMinTokenSize: pulumi.Int(0),
EngineConfigMysqlInnodbFtServerStopwordTable: pulumi.String("string"),
EngineConfigMysqlInnodbLockWaitTimeout: pulumi.Int(0),
EngineConfigMysqlInnodbLogBufferSize: pulumi.Int(0),
EngineConfigMysqlInnodbOnlineAlterLogMaxSize: pulumi.Int(0),
EngineConfigMysqlInnodbReadIoThreads: pulumi.Int(0),
EngineConfigMysqlInnodbRollbackOnTimeout: pulumi.Bool(false),
EngineConfigMysqlInnodbThreadConcurrency: pulumi.Int(0),
EngineConfigMysqlInnodbWriteIoThreads: pulumi.Int(0),
AllowLists: pulumi.StringArray{
pulumi.String("string"),
},
EngineConfigMysqlInternalTmpMemStorageEngine: pulumi.String("string"),
EngineConfigMysqlMaxAllowedPacket: pulumi.Int(0),
EngineConfigMysqlGroupConcatMaxLen: pulumi.Float64(0),
EngineConfigMysqlNetBufferLength: pulumi.Int(0),
EngineConfigMysqlNetReadTimeout: pulumi.Int(0),
EngineConfigMysqlNetWriteTimeout: pulumi.Int(0),
EngineConfigMysqlSortBufferSize: pulumi.Int(0),
EngineConfigMysqlSqlMode: pulumi.String("string"),
EngineConfigMysqlSqlRequirePrimaryKey: pulumi.Bool(false),
EngineConfigMysqlTmpTableSize: pulumi.Int(0),
EngineConfigMysqlWaitTimeout: pulumi.Int(0),
EngineConfigMysqlDefaultTimeZone: pulumi.String("string"),
ForkRestoreTime: pulumi.String("string"),
ForkSource: pulumi.Int(0),
EngineConfigMysqlConnectTimeout: pulumi.Int(0),
EngineConfigBinlogRetentionPeriod: pulumi.Int(0),
Suspended: pulumi.Bool(false),
Timeouts: &linode.DatabaseMysqlV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ClusterSize: pulumi.Int(0),
Updates: &linode.DatabaseMysqlV2UpdatesArgs{
DayOfWeek: pulumi.Int(0),
Duration: pulumi.Int(0),
Frequency: pulumi.String("string"),
HourOfDay: pulumi.Int(0),
},
})
var databaseMysqlV2Resource = new DatabaseMysqlV2("databaseMysqlV2Resource", DatabaseMysqlV2Args.builder()
.engineId("string")
.type("string")
.region("string")
.label("string")
.engineConfigMysqlInteractiveTimeout(0)
.engineConfigMysqlMaxHeapTableSize(0)
.engineConfigMysqlInformationSchemaStatsExpiry(0)
.engineConfigMysqlInnodbChangeBufferMaxSize(0)
.engineConfigMysqlInnodbFlushNeighbors(0)
.engineConfigMysqlInnodbFtMinTokenSize(0)
.engineConfigMysqlInnodbFtServerStopwordTable("string")
.engineConfigMysqlInnodbLockWaitTimeout(0)
.engineConfigMysqlInnodbLogBufferSize(0)
.engineConfigMysqlInnodbOnlineAlterLogMaxSize(0)
.engineConfigMysqlInnodbReadIoThreads(0)
.engineConfigMysqlInnodbRollbackOnTimeout(false)
.engineConfigMysqlInnodbThreadConcurrency(0)
.engineConfigMysqlInnodbWriteIoThreads(0)
.allowLists("string")
.engineConfigMysqlInternalTmpMemStorageEngine("string")
.engineConfigMysqlMaxAllowedPacket(0)
.engineConfigMysqlGroupConcatMaxLen(0.0)
.engineConfigMysqlNetBufferLength(0)
.engineConfigMysqlNetReadTimeout(0)
.engineConfigMysqlNetWriteTimeout(0)
.engineConfigMysqlSortBufferSize(0)
.engineConfigMysqlSqlMode("string")
.engineConfigMysqlSqlRequirePrimaryKey(false)
.engineConfigMysqlTmpTableSize(0)
.engineConfigMysqlWaitTimeout(0)
.engineConfigMysqlDefaultTimeZone("string")
.forkRestoreTime("string")
.forkSource(0)
.engineConfigMysqlConnectTimeout(0)
.engineConfigBinlogRetentionPeriod(0)
.suspended(false)
.timeouts(DatabaseMysqlV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.clusterSize(0)
.updates(DatabaseMysqlV2UpdatesArgs.builder()
.dayOfWeek(0)
.duration(0)
.frequency("string")
.hourOfDay(0)
.build())
.build());
database_mysql_v2_resource = linode.DatabaseMysqlV2("databaseMysqlV2Resource",
engine_id="string",
type="string",
region="string",
label="string",
engine_config_mysql_interactive_timeout=0,
engine_config_mysql_max_heap_table_size=0,
engine_config_mysql_information_schema_stats_expiry=0,
engine_config_mysql_innodb_change_buffer_max_size=0,
engine_config_mysql_innodb_flush_neighbors=0,
engine_config_mysql_innodb_ft_min_token_size=0,
engine_config_mysql_innodb_ft_server_stopword_table="string",
engine_config_mysql_innodb_lock_wait_timeout=0,
engine_config_mysql_innodb_log_buffer_size=0,
engine_config_mysql_innodb_online_alter_log_max_size=0,
engine_config_mysql_innodb_read_io_threads=0,
engine_config_mysql_innodb_rollback_on_timeout=False,
engine_config_mysql_innodb_thread_concurrency=0,
engine_config_mysql_innodb_write_io_threads=0,
allow_lists=["string"],
engine_config_mysql_internal_tmp_mem_storage_engine="string",
engine_config_mysql_max_allowed_packet=0,
engine_config_mysql_group_concat_max_len=0,
engine_config_mysql_net_buffer_length=0,
engine_config_mysql_net_read_timeout=0,
engine_config_mysql_net_write_timeout=0,
engine_config_mysql_sort_buffer_size=0,
engine_config_mysql_sql_mode="string",
engine_config_mysql_sql_require_primary_key=False,
engine_config_mysql_tmp_table_size=0,
engine_config_mysql_wait_timeout=0,
engine_config_mysql_default_time_zone="string",
fork_restore_time="string",
fork_source=0,
engine_config_mysql_connect_timeout=0,
engine_config_binlog_retention_period=0,
suspended=False,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
cluster_size=0,
updates={
"day_of_week": 0,
"duration": 0,
"frequency": "string",
"hour_of_day": 0,
})
const databaseMysqlV2Resource = new linode.DatabaseMysqlV2("databaseMysqlV2Resource", {
engineId: "string",
type: "string",
region: "string",
label: "string",
engineConfigMysqlInteractiveTimeout: 0,
engineConfigMysqlMaxHeapTableSize: 0,
engineConfigMysqlInformationSchemaStatsExpiry: 0,
engineConfigMysqlInnodbChangeBufferMaxSize: 0,
engineConfigMysqlInnodbFlushNeighbors: 0,
engineConfigMysqlInnodbFtMinTokenSize: 0,
engineConfigMysqlInnodbFtServerStopwordTable: "string",
engineConfigMysqlInnodbLockWaitTimeout: 0,
engineConfigMysqlInnodbLogBufferSize: 0,
engineConfigMysqlInnodbOnlineAlterLogMaxSize: 0,
engineConfigMysqlInnodbReadIoThreads: 0,
engineConfigMysqlInnodbRollbackOnTimeout: false,
engineConfigMysqlInnodbThreadConcurrency: 0,
engineConfigMysqlInnodbWriteIoThreads: 0,
allowLists: ["string"],
engineConfigMysqlInternalTmpMemStorageEngine: "string",
engineConfigMysqlMaxAllowedPacket: 0,
engineConfigMysqlGroupConcatMaxLen: 0,
engineConfigMysqlNetBufferLength: 0,
engineConfigMysqlNetReadTimeout: 0,
engineConfigMysqlNetWriteTimeout: 0,
engineConfigMysqlSortBufferSize: 0,
engineConfigMysqlSqlMode: "string",
engineConfigMysqlSqlRequirePrimaryKey: false,
engineConfigMysqlTmpTableSize: 0,
engineConfigMysqlWaitTimeout: 0,
engineConfigMysqlDefaultTimeZone: "string",
forkRestoreTime: "string",
forkSource: 0,
engineConfigMysqlConnectTimeout: 0,
engineConfigBinlogRetentionPeriod: 0,
suspended: false,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
clusterSize: 0,
updates: {
dayOfWeek: 0,
duration: 0,
frequency: "string",
hourOfDay: 0,
},
});
type: linode:DatabaseMysqlV2
properties:
allowLists:
- string
clusterSize: 0
engineConfigBinlogRetentionPeriod: 0
engineConfigMysqlConnectTimeout: 0
engineConfigMysqlDefaultTimeZone: string
engineConfigMysqlGroupConcatMaxLen: 0
engineConfigMysqlInformationSchemaStatsExpiry: 0
engineConfigMysqlInnodbChangeBufferMaxSize: 0
engineConfigMysqlInnodbFlushNeighbors: 0
engineConfigMysqlInnodbFtMinTokenSize: 0
engineConfigMysqlInnodbFtServerStopwordTable: string
engineConfigMysqlInnodbLockWaitTimeout: 0
engineConfigMysqlInnodbLogBufferSize: 0
engineConfigMysqlInnodbOnlineAlterLogMaxSize: 0
engineConfigMysqlInnodbReadIoThreads: 0
engineConfigMysqlInnodbRollbackOnTimeout: false
engineConfigMysqlInnodbThreadConcurrency: 0
engineConfigMysqlInnodbWriteIoThreads: 0
engineConfigMysqlInteractiveTimeout: 0
engineConfigMysqlInternalTmpMemStorageEngine: string
engineConfigMysqlMaxAllowedPacket: 0
engineConfigMysqlMaxHeapTableSize: 0
engineConfigMysqlNetBufferLength: 0
engineConfigMysqlNetReadTimeout: 0
engineConfigMysqlNetWriteTimeout: 0
engineConfigMysqlSortBufferSize: 0
engineConfigMysqlSqlMode: string
engineConfigMysqlSqlRequirePrimaryKey: false
engineConfigMysqlTmpTableSize: 0
engineConfigMysqlWaitTimeout: 0
engineId: string
forkRestoreTime: string
forkSource: 0
label: string
region: string
suspended: false
timeouts:
create: string
delete: string
update: string
type: string
updates:
dayOfWeek: 0
duration: 0
frequency: string
hourOfDay: 0
DatabaseMysqlV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DatabaseMysqlV2 resource accepts the following input properties:
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Label string
- A unique, user-defined string referring to the Managed Database.
- Region string
- The region to use for the Managed Database.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Allow
Lists List<string> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config doubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Mysql V2Timeouts - Updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Label string
- A unique, user-defined string referring to the Managed Database.
- Region string
- The region to use for the Managed Database.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Allow
Lists []string - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config float64Mysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Mysql V2Timeouts Args - Updates
Database
Mysql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - label String
- A unique, user-defined string referring to the Managed Database.
- region String
- The region to use for the Managed Database.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - cluster
Size Integer - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - engine
Config IntegerBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config IntegerMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config DoubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config IntegerMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config IntegerMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config IntegerMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config IntegerMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config IntegerMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config IntegerMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config IntegerMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config IntegerMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config IntegerMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config IntegerMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config IntegerMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config IntegerMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config IntegerMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config IntegerMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Integer - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts - updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - label string
- A unique, user-defined string referring to the Managed Database.
- region string
- The region to use for the Managed Database.
- type string
- The Linode Instance type used for the nodes of the Managed Database.
- allow
Lists string[] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - cluster
Size number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - engine
Config numberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config numberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config numberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config numberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config numberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config numberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config numberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config numberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config numberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config numberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config numberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config booleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config numberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config numberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config numberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config numberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config numberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config booleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config numberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- fork
Restore stringTime - The database timestamp from which it was restored.
- fork
Source number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts - updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- engine_
id str - The Managed Database engine in engine/version format. (e.g.
mysql
) - label str
- A unique, user-defined string referring to the Managed Database.
- region str
- The region to use for the Managed Database.
- type str
- The Linode Instance type used for the nodes of the Managed Database.
- allow_
lists Sequence[str] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - cluster_
size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - engine_
config_ intbinlog_ retention_ period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine_
config_ intmysql_ connect_ timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine_
config_ strmysql_ default_ time_ zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine_
config_ floatmysql_ group_ concat_ max_ len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine_
config_ intmysql_ information_ schema_ stats_ expiry - The time, in seconds, before cached statistics expire.
- engine_
config_ intmysql_ innodb_ change_ buffer_ max_ size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine_
config_ intmysql_ innodb_ flush_ neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine_
config_ intmysql_ innodb_ ft_ min_ token_ size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ strmysql_ innodb_ ft_ server_ stopword_ table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine_
config_ intmysql_ innodb_ lock_ wait_ timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine_
config_ intmysql_ innodb_ log_ buffer_ size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine_
config_ intmysql_ innodb_ online_ alter_ log_ max_ size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine_
config_ intmysql_ innodb_ read_ io_ threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ boolmysql_ innodb_ rollback_ on_ timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ innodb_ thread_ concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine_
config_ intmysql_ innodb_ write_ io_ threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ interactive_ timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine_
config_ strmysql_ internal_ tmp_ mem_ storage_ engine - The storage engine for in-memory internal temporary tables.
- engine_
config_ intmysql_ max_ allowed_ packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine_
config_ intmysql_ max_ heap_ table_ size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ net_ buffer_ length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ net_ read_ timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine_
config_ intmysql_ net_ write_ timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine_
config_ intmysql_ sort_ buffer_ size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine_
config_ strmysql_ sql_ mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine_
config_ boolmysql_ sql_ require_ primary_ key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine_
config_ intmysql_ tmp_ table_ size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ wait_ timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- fork_
restore_ strtime - The database timestamp from which it was restored.
- fork_
source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended bool
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts Args - updates
Database
Mysql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - label String
- A unique, user-defined string referring to the Managed Database.
- region String
- The region to use for the Managed Database.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - cluster
Size Number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - engine
Config NumberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config NumberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config NumberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config NumberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config NumberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config NumberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config NumberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config NumberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config NumberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config NumberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config NumberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config NumberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config NumberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config NumberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config NumberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config NumberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config NumberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts Property Map
- updates Property Map
- Configuration settings for automated patch update maintenance for the Managed Database.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseMysqlV2 resource produces the following output properties:
- Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Members Dictionary<string, string>
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates List<DatabaseMysql V2Pending Update> - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Members map[string]string
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates []DatabaseMysql V2Pending Update - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
mysql
) - host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- The provider-assigned unique ID for this managed resource.
- members Map<String,String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<DatabaseMysql V2Pending Update> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Integer
- The access port for this Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- updated String
- When this Managed Database was last updated.
- version String
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- created string
- When this Managed Database was created.
- encrypted boolean
- Whether the Managed Databases is encrypted.
- engine string
- The Managed Database engine. (e.g.
mysql
) - host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- id string
- The provider-assigned unique ID for this managed resource.
- members {[key: string]: string}
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore stringTime - The oldest time to which a database can be restored.
- pending
Updates DatabaseMysql V2Pending Update[] - A set of pending updates.
- platform string
- The back-end platform for relational databases used by the service.
- port number
- The access port for this Managed Database.
- root
Password string - The randomly-generated root password for the Managed Database instance.
- root
Username string - The root username for the Managed Database instance.
- ssl
Connection boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status string
- The operating status of the Managed Database.
- updated string
- When this Managed Database was last updated.
- version string
- The Managed Database engine version. (e.g.
13.2
)
- ca_
cert str - The base64-encoded SSL CA certificate for the Managed Database.
- created str
- When this Managed Database was created.
- encrypted bool
- Whether the Managed Databases is encrypted.
- engine str
- The Managed Database engine. (e.g.
mysql
) - host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- id str
- The provider-assigned unique ID for this managed resource.
- members Mapping[str, str]
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest_
restore_ strtime - The oldest time to which a database can be restored.
- pending_
updates Sequence[DatabaseMysql V2Pending Update] - A set of pending updates.
- platform str
- The back-end platform for relational databases used by the service.
- port int
- The access port for this Managed Database.
- root_
password str - The randomly-generated root password for the Managed Database instance.
- root_
username str - The root username for the Managed Database instance.
- ssl_
connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- status str
- The operating status of the Managed Database.
- updated str
- When this Managed Database was last updated.
- version str
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
mysql
) - host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- The provider-assigned unique ID for this managed resource.
- members Map<String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<Property Map> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Number
- The access port for this Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- updated String
- When this Managed Database was last updated.
- version String
- The Managed Database engine version. (e.g.
13.2
)
Look up Existing DatabaseMysqlV2 Resource
Get an existing DatabaseMysqlV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DatabaseMysqlV2State, opts?: CustomResourceOptions): DatabaseMysqlV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_lists: Optional[Sequence[str]] = None,
ca_cert: Optional[str] = None,
cluster_size: Optional[int] = None,
created: Optional[str] = None,
encrypted: Optional[bool] = None,
engine: Optional[str] = None,
engine_config_binlog_retention_period: Optional[int] = None,
engine_config_mysql_connect_timeout: Optional[int] = None,
engine_config_mysql_default_time_zone: Optional[str] = None,
engine_config_mysql_group_concat_max_len: Optional[float] = None,
engine_config_mysql_information_schema_stats_expiry: Optional[int] = None,
engine_config_mysql_innodb_change_buffer_max_size: Optional[int] = None,
engine_config_mysql_innodb_flush_neighbors: Optional[int] = None,
engine_config_mysql_innodb_ft_min_token_size: Optional[int] = None,
engine_config_mysql_innodb_ft_server_stopword_table: Optional[str] = None,
engine_config_mysql_innodb_lock_wait_timeout: Optional[int] = None,
engine_config_mysql_innodb_log_buffer_size: Optional[int] = None,
engine_config_mysql_innodb_online_alter_log_max_size: Optional[int] = None,
engine_config_mysql_innodb_read_io_threads: Optional[int] = None,
engine_config_mysql_innodb_rollback_on_timeout: Optional[bool] = None,
engine_config_mysql_innodb_thread_concurrency: Optional[int] = None,
engine_config_mysql_innodb_write_io_threads: Optional[int] = None,
engine_config_mysql_interactive_timeout: Optional[int] = None,
engine_config_mysql_internal_tmp_mem_storage_engine: Optional[str] = None,
engine_config_mysql_max_allowed_packet: Optional[int] = None,
engine_config_mysql_max_heap_table_size: Optional[int] = None,
engine_config_mysql_net_buffer_length: Optional[int] = None,
engine_config_mysql_net_read_timeout: Optional[int] = None,
engine_config_mysql_net_write_timeout: Optional[int] = None,
engine_config_mysql_sort_buffer_size: Optional[int] = None,
engine_config_mysql_sql_mode: Optional[str] = None,
engine_config_mysql_sql_require_primary_key: Optional[bool] = None,
engine_config_mysql_tmp_table_size: Optional[int] = None,
engine_config_mysql_wait_timeout: Optional[int] = None,
engine_id: Optional[str] = None,
fork_restore_time: Optional[str] = None,
fork_source: Optional[int] = None,
host_primary: Optional[str] = None,
host_secondary: Optional[str] = None,
label: Optional[str] = None,
members: Optional[Mapping[str, str]] = None,
oldest_restore_time: Optional[str] = None,
pending_updates: Optional[Sequence[DatabaseMysqlV2PendingUpdateArgs]] = None,
platform: Optional[str] = None,
port: Optional[int] = None,
region: Optional[str] = None,
root_password: Optional[str] = None,
root_username: Optional[str] = None,
ssl_connection: Optional[bool] = None,
status: Optional[str] = None,
suspended: Optional[bool] = None,
timeouts: Optional[DatabaseMysqlV2TimeoutsArgs] = None,
type: Optional[str] = None,
updated: Optional[str] = None,
updates: Optional[DatabaseMysqlV2UpdatesArgs] = None,
version: Optional[str] = None) -> DatabaseMysqlV2
func GetDatabaseMysqlV2(ctx *Context, name string, id IDInput, state *DatabaseMysqlV2State, opts ...ResourceOption) (*DatabaseMysqlV2, error)
public static DatabaseMysqlV2 Get(string name, Input<string> id, DatabaseMysqlV2State? state, CustomResourceOptions? opts = null)
public static DatabaseMysqlV2 get(String name, Output<String> id, DatabaseMysqlV2State state, CustomResourceOptions options)
resources: _: type: linode:DatabaseMysqlV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Lists List<string> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config doubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members Dictionary<string, string>
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates List<DatabaseMysql V2Pending Update> - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Mysql V2Timeouts - Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- Allow
Lists []string - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
mysql
) - Engine
Config intBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- Engine
Config intMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- Engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - Engine
Config float64Mysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - Engine
Config intMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- Engine
Config intMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- Engine
Config intMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- Engine
Config intMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- Engine
Config intMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- Engine
Config intMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- Engine
Config intMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- Engine
Config intMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config boolMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- Engine
Config intMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- Engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- Engine
Config intMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- Engine
Config intMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- Engine
Config intMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- Engine
Config intMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- Engine
Config intMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- Engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - Engine
Config boolMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - Engine
Config intMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- Engine
Config intMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members map[string]string
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates []DatabaseMysql V2Pending Update Args - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Mysql V2Timeouts Args - Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Database
Mysql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size Integer - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
mysql
) - engine
Config IntegerBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config IntegerMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config DoubleMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config IntegerMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config IntegerMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config IntegerMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config IntegerMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config IntegerMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config IntegerMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config IntegerMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config IntegerMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config IntegerMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config IntegerMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config IntegerMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config IntegerMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config IntegerMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config IntegerMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config IntegerMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config IntegerMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Integer - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String,String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<DatabaseMysql V2Pending Update> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Integer
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts - type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- version String
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists string[] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created string
- When this Managed Database was created.
- encrypted boolean
- Whether the Managed Databases is encrypted.
- engine string
- The Managed Database engine. (e.g.
mysql
) - engine
Config numberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config numberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config stringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config numberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config numberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config numberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config numberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config numberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config stringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config numberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config numberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config numberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config numberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config booleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config numberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config stringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config numberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config numberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config numberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config numberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config numberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config stringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config booleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config numberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config numberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id string - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore stringTime - The database timestamp from which it was restored.
- fork
Source number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- label string
- A unique, user-defined string referring to the Managed Database.
- members {[key: string]: string}
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore stringTime - The oldest time to which a database can be restored.
- pending
Updates DatabaseMysql V2Pending Update[] - A set of pending updates.
- platform string
- The back-end platform for relational databases used by the service.
- port number
- The access port for this Managed Database.
- region string
- The region to use for the Managed Database.
- root
Password string - The randomly-generated root password for the Managed Database instance.
- root
Username string - The root username for the Managed Database instance.
- ssl
Connection boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status string
- The operating status of the Managed Database.
- suspended boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts - type string
- The Linode Instance type used for the nodes of the Managed Database.
- updated string
- When this Managed Database was last updated.
- updates
Database
Mysql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- version string
- The Managed Database engine version. (e.g.
13.2
)
- allow_
lists Sequence[str] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca_
cert str - The base64-encoded SSL CA certificate for the Managed Database.
- cluster_
size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created str
- When this Managed Database was created.
- encrypted bool
- Whether the Managed Databases is encrypted.
- engine str
- The Managed Database engine. (e.g.
mysql
) - engine_
config_ intbinlog_ retention_ period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine_
config_ intmysql_ connect_ timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine_
config_ strmysql_ default_ time_ zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine_
config_ floatmysql_ group_ concat_ max_ len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine_
config_ intmysql_ information_ schema_ stats_ expiry - The time, in seconds, before cached statistics expire.
- engine_
config_ intmysql_ innodb_ change_ buffer_ max_ size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine_
config_ intmysql_ innodb_ flush_ neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine_
config_ intmysql_ innodb_ ft_ min_ token_ size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ strmysql_ innodb_ ft_ server_ stopword_ table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine_
config_ intmysql_ innodb_ lock_ wait_ timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine_
config_ intmysql_ innodb_ log_ buffer_ size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine_
config_ intmysql_ innodb_ online_ alter_ log_ max_ size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine_
config_ intmysql_ innodb_ read_ io_ threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ boolmysql_ innodb_ rollback_ on_ timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ innodb_ thread_ concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine_
config_ intmysql_ innodb_ write_ io_ threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ interactive_ timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine_
config_ strmysql_ internal_ tmp_ mem_ storage_ engine - The storage engine for in-memory internal temporary tables.
- engine_
config_ intmysql_ max_ allowed_ packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine_
config_ intmysql_ max_ heap_ table_ size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ net_ buffer_ length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine_
config_ intmysql_ net_ read_ timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine_
config_ intmysql_ net_ write_ timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine_
config_ intmysql_ sort_ buffer_ size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine_
config_ strmysql_ sql_ mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine_
config_ boolmysql_ sql_ require_ primary_ key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine_
config_ intmysql_ tmp_ table_ size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine_
config_ intmysql_ wait_ timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine_
id str - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork_
restore_ strtime - The database timestamp from which it was restored.
- fork_
source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- label str
- A unique, user-defined string referring to the Managed Database.
- members Mapping[str, str]
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest_
restore_ strtime - The oldest time to which a database can be restored.
- pending_
updates Sequence[DatabaseMysql V2Pending Update Args] - A set of pending updates.
- platform str
- The back-end platform for relational databases used by the service.
- port int
- The access port for this Managed Database.
- region str
- The region to use for the Managed Database.
- root_
password str - The randomly-generated root password for the Managed Database instance.
- root_
username str - The root username for the Managed Database instance.
- ssl_
connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- status str
- The operating status of the Managed Database.
- suspended bool
- Whether this Managed Database should be suspended.
- timeouts
Database
Mysql V2Timeouts Args - type str
- The Linode Instance type used for the nodes of the Managed Database.
- updated str
- When this Managed Database was last updated.
- updates
Database
Mysql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- version str
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size Number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
mysql
) - engine
Config NumberBinlog Retention Period - The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
- engine
Config NumberMysql Connect Timeout - The number of seconds that the mysqld server waits for a connect packet before responding with "Bad handshake".
- engine
Config StringMysql Default Time Zone - Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or
SYSTEM
to use the MySQL server default. - engine
Config NumberMysql Group Concat Max Len - The maximum permitted result length in bytes for the
GROUP_CONCAT()
function. - engine
Config NumberMysql Information Schema Stats Expiry - The time, in seconds, before cached statistics expire.
- engine
Config NumberMysql Innodb Change Buffer Max Size - Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25.
- engine
Config NumberMysql Innodb Flush Neighbors - Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
- engine
Config NumberMysql Innodb Ft Min Token Size - Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config StringMysql Innodb Ft Server Stopword Table - This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. This field is nullable.
- engine
Config NumberMysql Innodb Lock Wait Timeout - The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
- engine
Config NumberMysql Innodb Log Buffer Size - The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
- engine
Config NumberMysql Innodb Online Alter Log Max Size - The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
- engine
Config NumberMysql Innodb Read Io Threads - The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config BooleanMysql Innodb Rollback On Timeout - When enabled, a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Innodb Thread Concurrency - Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
- engine
Config NumberMysql Innodb Write Io Threads - The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Interactive Timeout - The number of seconds the server waits for activity on an interactive connection before closing it.
- engine
Config StringMysql Internal Tmp Mem Storage Engine - The storage engine for in-memory internal temporary tables.
- engine
Config NumberMysql Max Allowed Packet - Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
- engine
Config NumberMysql Max Heap Table Size - Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Net Buffer Length - Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
- engine
Config NumberMysql Net Read Timeout - The number of seconds to wait for more data from a connection before aborting the read.
- engine
Config NumberMysql Net Write Timeout - The number of seconds to wait for a block to be written to a connection before aborting the write.
- engine
Config NumberMysql Sort Buffer Size - Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
- engine
Config StringMysql Sql Mode - Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. (default
ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES
) - engine
Config BooleanMysql Sql Require Primary Key - Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. (default
true
) - engine
Config NumberMysql Tmp Table Size - Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
- engine
Config NumberMysql Wait Timeout - The number of seconds the server waits for activity on a noninteractive connection before closing it.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
mysql
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<Property Map> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Number
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts Property Map
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates Property Map
- Configuration settings for automated patch update maintenance for the Managed Database.
- version String
- The Managed Database engine version. (e.g.
13.2
)
Supporting Types
DatabaseMysqlV2PendingUpdate, DatabaseMysqlV2PendingUpdateArgs
- Deadline string
- Description string
- Planned
For string
- Deadline string
- Description string
- Planned
For string
- deadline String
- description String
- planned
For String
- deadline string
- description string
- planned
For string
- deadline str
- description str
- planned_
for str
- deadline String
- description String
- planned
For String
DatabaseMysqlV2Timeouts, DatabaseMysqlV2TimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
DatabaseMysqlV2Updates, DatabaseMysqlV2UpdatesArgs
- day_
of_ intweek - duration int
- frequency str
- hour_
of_ intday
Import
Linode MySQL Databases can be imported using the id
, e.g.
$ pulumi import linode:index/databaseMysqlV2:DatabaseMysqlV2 foobar 1234567
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.