Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 12366

ClearDB (MySQL) Passwords and Azure Connection Strings

$
0
0

Many Open Source Web Applications on Azure make use of the ClearDB MySQL databases.

This article will cover how to reset your ClearDB Database Password, including updating the connection string within Azure so existing processes such as database backups will continue to function.

*Note*

If you reset your database password, you will also have to update existing applications that are relying on this connection information.

E.g: WordPress, Drupal, Joomla, etc.

Changing your ClearDB Password

The ClearDB subscription is linked to Azure accounts through the “Linked Resources” tab.

1) Linked Resources

Click the ‘'”Linked Resources” Tab and select the database name

2) Endpoint Information

Click the Endpoint Information Tab

Click Reset to update the password

3) Password Prompt

Click OK to generate new password.

4) Connection Strings

In Azure Portal - Configuration Tab, scroll to “Connection Strings” area

Click “Show Connection Strings”

5) Copy Connection Strings

Copy this string into your clipboard

6) Update Connection String

Paste into a text-editor

Update the password

7) Restore Connection String

Once you have your string updated, paste it back into the portal

8) Save Settings

Click the save icon

8) Update application-specific configuration

Shown below is a WordPress example (wp-config.php)

Update ‘DB_PASSWORD’ to the new one


Viewing all articles
Browse latest Browse all 12366

Trending Articles