cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Database → Create remote MySQL profile

AI-generated

Summary

Create a new remote MySQL profile in WHM using provided connection details.

Inputs

  • Mysql Host (required) — The MySQL server's IP address or hostname.
  • Mysql Pass (required) — The MySQL server's password.
  • Mysql Port (required) — The MySQL server's port.
  • Mysql User (required) — The MySQL server's username.
  • Name (required) — The new profile's name.
  • Cpcloud — Whether the remote database profile is a cPanel Cloud deployment. Set to 1 if it is, 0 if not.
  • Setup Via — A description of the profile data, defaults to 'User provided MySQL credentials' if not set.

Output shape

an object representing the created remote MySQL profile or confirmation of creation

The response shape depends on the WHM API output. Errors are validated and surfaced as node errors if creation fails.

Links

Discussion