Tag : mysql

How to Connect to Cloud Foundry’s Databases

Photo by N. on Unsplash Whether you are using PCF, cf-deployment, or KubeCF, there is an easy pattern to connect to the underlying MySQL or PostgreSQL databases that works regardless of the secrets provider (CredHub, Vault, or Kubernetes secrets). Makes you feel a bit like a pirate, right? So, break out your sand shovels and

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Cloud Foundry database replatforming from Postgres to MySQL

So you have a Cloud Foundry deployed with the `cf-release` codebaseand you have noticed that in the newer release Cloud Foundry switched to MySQL.And now you want to upgrade. But first you need to move from PostgreSQL so it will make your life easier for the future upgrades! The good thing is… It can be

Ramon Makkelie Profile Image

Posted by:
Ramon Makkelie

Read More ➝
Manual Backup of CCDB/UAADB on Cloud Foundry

For whatever reason you may want to make a database backup for uaadb or ccdb and copy the backup to a jumpbox or other server. The instructions below will walk through two options for performing the backups and getting the backup to a secondary server. Option 1 assumes the jumpbox cannot access the databases directly,

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Automating root password on MySQL 5.6

So, I spent an unreasonable amount of time attempting to automate the install of MySQL 5.6 for a client. Apparently one of the newer features in MySQL is the creation of a temporary password file when MySQL is first intalled. I want to use this password file to reset the root password as the root

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝