Module "mysql"

Description

SOAP WSDL

Available methods

Details

array get_mysql_by_database_name

Get a MySQL database by its name

Parameters

  • string $database_name The name of the database to get

Returns

  • array $details The details of the MySQL database

array get_mysql_by_product

Get the MySQL database associated with a given product

Parameters

  • int $product_id The product_id to fetch the MySQL database for

Returns

  • array $details The details of the MySQL database

void update

Update a MySQL database

Only allows updating the password and the host.

The details array can contain the following information:

product_id (*)
host
password

Items marked with (*) are mandatory.

The 'host' can be 'localhost', to allow local connections only,
or '%' to allow connections from anywhere.

Parameters

  • int $mysql_id The MySQL product_id to update
  • array $details The details of the MySQL database