Creates a new DB Parameter Group.
A DB Parameter Group is initially created with the default parameters for the database engine used by the DB Instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you’ve created a DB Parameter Group, you need to associate it with your DB Instance using ModifyDBInstance. When you associate a new DB Parameter Group with a running DB Instance, you need to reboot the DB Instance for the new DB Parameter Group and associated settings to take effect.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the DB Parameter Group. Constraints:
This value is stored as a lower-case string. |
|
|
Required |
The DB Parameter Group Family name. A DB Parameter Group can be associated with one and only one DB Parameter Group Family, and can be applied only to a DB Instance running a database engine and engine version compatible with that DB Parameter Group Family. |
|
|
Required |
The description for the DB Parameter Group. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Create a database parameter group.
// Instantiate the class $rds = new AmazonRDS(); $response = $rds->create_db_parameter_group('myParameterGroup', 'MySQL5.1', 'This is a sample description.'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/rds.class.php | Toggle source view (9 lines) | View on GitHub