Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 2526 to 2535 of 45354 « Previous | Next »
Explore Explainability in MySQL HeatWave ML

Machine learning explainability in Oracle MySQL HeatWave ML

Setting up PMM for monitoring MySQL on a local environment

Percona Monitoring and Management (PMM) is an open source database monitoring, observability, and management tool that can be used for monitoring the health of your database infrastructure, exploring new patterns in database behavior, and managing and improving the performance of your databases no matter where they are located or deployed.

PMM is designed to work with MySQL (including Percona Server for MySQL, Percona XtraDB Cluster, Oracle MySQL Community Edition, Oracle MySQL Enterprise Edition, and MariaDB), PostgreSQL (including Percona Distribution for PostgreSQL), MongoDB (including Percona Server for MongoDB), Amazon RDS, Amazon Aurora, Proxy SQL, and Percona XtraDB Cluster.

Debian, Ubuntu, and Red Hat (AlmaLinux, Oracle Linux or Rocky Linux may also work) are supported. If you try installing on another …

[Read more]
Running PMM with Docker on Ubuntu 20.04

I started at Percona a few weeks ago and was looking for a quick way to learn about PMM (Percona Monitoring and Management), which is one of my favorite technologies within Percona to monitor the health of our database infrastructure, explore new patterns in the database behavior, manage and improve the performance of our databases, all with customizable dashboards and real-time alerts using Grafana and VictoriaMetrics.

The best of all is that PMM is Open Source, you can check the PMM repository in case you want to contribute.

There are many flavors for PMM installation, here I will describe the steps to install PMM on Ubuntu 20.04, using Docker for PMM Server on an Amazon EC2 instance.

This image summarizes our goal.

Requirements

[Read more]
Connect to a MySQL database in Python

Connect a Python app to MySQL database with mysqlclient mysql-connector-python PyMySQL and aiomysql.

Connect to a MySQL database in Python

Connect a Python app to MySQL database with mysqlclient mysql-connector-python PyMySQL and aiomysql.

Register Now for MySQL Summit to Save $200

MySQL Summit at Oracle CloudWorld in Las Vegas, OCT 17-20, is the biggest MySQL event. It includes 80+ sessions, from MySQL sessions, hands-labs, tutorials, birds-of-a-feather, and more. The event represents a unique opportunity to boost your MySQL knowledge and skills, learn what's new with MySQL, meet leading community experts, experts from companies who rely on MySQL, as well as the MySQL Engineering Team. Register now to save $200!

Managing MySQL Configurations with the PXC Kubernetes Operator V1.10.0 Part 3: Conclusion

In part one and part two of this series, we introduced the different ways to manage MySQL configurations and precedence when using the Percona XtraDB Cluster (PXC) object and ConfigMap. In this post, we will see the precedence when secrets are used for MySQL configurations in Percona Operator for MySQL based on Percona XtraDB Cluster.

CASE-4: Secret with name cluster1-pxc and ConfigMap with name cluster1-pxc but without configuration in PXC object

When the MySQL configuration is present in the ConfigMap and secret but not in the PXC …

[Read more]
MySQL WHERE Clause Inequality Comparison Operators

Just as you want to filter the rows of data returned in a SELECT query with the equality comparison operator (=), you can also create a conditional filter to test if 2 values are not equal to one another. Learn more in the following article.

The Newsletter for PHP and MySQL Developers

Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.

Image by Peggy und Marco Lachmann-Anke from  …

[Read more]
How PlanetScale prevents MySQL downtime

The cost of downtime can range from loss of business to severe reputation damage. Database downtime feels inevitable but is often preventable.

The causes of database issues that lead to downtime can be categorized in the following ways:

  • Human error
  • System immaturity
  • Application issues

In this post, we will explore how PlanetScale can mitigate all three.

Downtime due to human error

We’ve all done it, dropped the wrong table or index and caused queries to dramatically slow or fail. This can lead to entire site outages, as well as cascading failure that impacts other systems. With standard MySQL, if you drop a table that you later find out was still in use, you are in a situation where you now have to restore from backup. Selecting the …

[Read more]
How PlanetScale prevents MySQL downtime

Learn how PlanetScale protects against downtime due to human error system immaturity and app issues.