Once you completely provision WordPress, you can connect to the WordPress as below
Then, we can connect to the WordPress by the URL from the output
Then, we can connect to the WordPress
Then, we can connect to the database of WordPress
Then, we open the MySQL workbench, and then
click the button '+'
Then, we choose 'Standard TCP/IP over SSH'
Then, we click the button 'Test Connection'
Then, we click the button Ok
Finally, we can double click on the configuration that can connect the database