[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Datastream V1 Client - Class MysqlProfile (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/php/docs/reference/cloud-datastream/latest/V1.MysqlProfile)\n- [2.3.1](/php/docs/reference/cloud-datastream/2.3.1/V1.MysqlProfile)\n- [2.2.0](/php/docs/reference/cloud-datastream/2.2.0/V1.MysqlProfile)\n- [2.1.1](/php/docs/reference/cloud-datastream/2.1.1/V1.MysqlProfile)\n- [2.0.1](/php/docs/reference/cloud-datastream/2.0.1/V1.MysqlProfile)\n- [1.5.5](/php/docs/reference/cloud-datastream/1.5.5/V1.MysqlProfile)\n- [1.4.2](/php/docs/reference/cloud-datastream/1.4.2/V1.MysqlProfile)\n- [1.3.0](/php/docs/reference/cloud-datastream/1.3.0/V1.MysqlProfile)\n- [1.2.1](/php/docs/reference/cloud-datastream/1.2.1/V1.MysqlProfile)\n- [1.1.0](/php/docs/reference/cloud-datastream/1.1.0/V1.MysqlProfile)\n- [1.0.5](/php/docs/reference/cloud-datastream/1.0.5/V1.MysqlProfile) \nReference documentation and code samples for the Google Cloud Datastream V1 Client class MysqlProfile.\n\nMySQL database profile.\n\nGenerated from protobuf message `google.cloud.datastream.v1.MysqlProfile`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHostname\n\nRequired. Hostname for the MySQL connection.\n\n### setHostname\n\nRequired. Hostname for the MySQL connection.\n\n### getPort\n\nPort for the MySQL connection, default value is 3306.\n\n### setPort\n\nPort for the MySQL connection, default value is 3306.\n\n### getUsername\n\nRequired. Username for the MySQL connection.\n\n### setUsername\n\nRequired. Username for the MySQL connection.\n\n### getPassword\n\nOptional. Input only. Password for the MySQL connection. Mutually exclusive\nwith the `secret_manager_stored_password` field.\n\n### setPassword\n\nOptional. Input only. Password for the MySQL connection. Mutually exclusive\nwith the `secret_manager_stored_password` field.\n\n### getSslConfig\n\nSSL configuration for the MySQL connection.\n\n### hasSslConfig\n\n### clearSslConfig\n\n### setSslConfig\n\nSSL configuration for the MySQL connection.\n\n### getSecretManagerStoredPassword\n\nOptional. A reference to a Secret Manager resource name storing the MySQL\nconnection password. Mutually exclusive with the `password` field.\n\n### setSecretManagerStoredPassword\n\nOptional. A reference to a Secret Manager resource name storing the MySQL\nconnection password. Mutually exclusive with the `password` field."]]