A few days ago, a customer got in touch asking how they could use Percona Monitoring and Management (PMM) to monitor the roles played by each node in an InnoDB cluster. More specifically, they wanted to check when one of the nodes changed its role from Primary to Secondary, or vice-versa. PMM allows for a high level of flexibility and customization through its support for custom queries, and we just have to be creative on how we approach the problem. In this post, we present the steps we did to test our solution, including the deployment of a 3-node InnoDB Cluster hosted in the same server (for testing) and a PMM 2 server, and connecting them together. Even though this has already been covered in other blog …
[Read more]Watch our latest on-demand webinar: Deploying Hybrid & Multi-Cloud Applications With Ultimate MySQL Availability. Learn about the pros and cons of single cloud region vs multi-region cloud deployments … and more.
Tags: MySQL Cloud hybrid cloud Multi-Cloud Webinar High Availability tungsten clustering …
[Read more]Passwords lists abound on the net. They exist to: Get a laugh out of silly passwords… 123456 anyone? Develop a dictionary file to check user passwords either for validation or cracking. From MySQL 5.6 the validate_password plugin has been available. … Continue reading →
Webinar date: July 8th, 2020 @9AM PST
Webinar title: Learn How Credorax is Increasing its SaaS Application Security with MySQL EE.
Speakers:
- Mike Frank, MySQL Product Management Director
- Greg Paks, VP R&D and Operations IT for Credorax
In this webinar, you will learn how Credorax leverages MySQL
EE security features for their SaaS platform. Credorax’s
SaaS application handles global and domestic domestic
payments for merchants and partners, so security is a
top priority for the company.
Discover how MySQL EE is used in the Credorax production
environment to address the security challenges. Learn
Credorax best practices to protect their global
operation across Europe, the US, the …
Webinar date: July 8th, 2020 @9AM PST Webinar title: Learn How Credorax is Increasing its SaaS Application Security with MySQL EE. Speakers: Mike Frank, MySQL Product Management Director Greg Paks, VP R&D and Operations IT for Credorax Register now In this webinar, you will learn how Credorax levera...
In this blog post, we are going to look into how to perform online migration from MySQL 5.6 standalone setup to a new replication set running on MySQL 5.7, deployed and managed by ClusterControl.
The plan is to set up a replication link from the new cluster running on MySQL 5.7 to the master running on MySQL 5.6 (outside of ClusterControl provision), which uses no GTID. MySQL does not support mixing GTID and non-GTID in one replication chain. So we need to do some tricks to switch between non-GTID and GTID modes during the migration.
Our architecture and migration plan can be illustrated as …
[Read more]We’ve been receiving requests recently from MySQL users wanting to understand how InnoDB Cluster compares to Tungsten Clustering, our MySQL HA, disaster recovery, and geo-clustering solution. In response we have come up with this comparative outline, looking at some of the key features of each.
Two questions from Reddit’s /r/mysql related to Window Functions: How do I make row.numbers happen and Get the difference between two values in different recordings.
One of the new things in MySQL is the implementation of Window Functions. They are related to aggregates, but do not actually lump values together.
To better understand what goes on, let’s create some fake data to work with:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import MySQLdb as mdb
import MySQLdb.cursors as cursors
from datetime import datetime, timedelta
from random import randint, random
# We have {sensors} sensors, each producing {values} values
# between {minvalue} and {maxvalue}, at a random time after {starttime} …
[Read more]
This blog discusses some best practices for using multiple filesystems on MySQL database servers and how to achieve the best performance with them, while avoiding some of the possible pitfalls.
Tags: MySQL Database Filesystem Partition Mount Mount Point fstab
In the second part of this series of DBA security tasks, we will continue to look at fixing mysql db users with an insecure setup. These are not tips that you read with your morning coffee and then forget about, … Continue reading →