Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17820

Run mysql query from within a rpm?

$
0
0

Pretty self explanatory. I need to query a mysql table during an rpm install. Has anyone done this before?

EDIT: Unless anyone has a way to rollback database schema changes please don't suggest to use an orchestration tool or configuration management tool. These tools are already being used, puppet for config management and vCO for orchestration.

Can't backup and restore, lots of these DBs are 2TB-20TB+. There's no replication, no HA, no failover.

EDIT2: I gotcha guys. We'll probably do the application deployment with vCO and build a workflow in that which will do all this stuff that we discussed putting in the rpm. I got hung-up on the rpm part. I've just been making a ton of them and you get a little crazy about them when you're going from all source installs to deploying apps via yum.

submitted by kaydub88
[link][23 comments]

Viewing all articles
Browse latest Browse all 17820

Trending Articles