MySQL Shell offer many features to make life easier for DBAs and developers. In this post we discuss how to view the details of the connection to a MySQL instance.
MySQL warnings are an anti-pattern when it comes to maintaining data integrity. When the information retrieved from a database does not match what was entered, and this is not identified immediately, this can be permanently lost.
MySQL by default for several decades until the most recent versions enabled you to insert incorrect data, or insert data that was then truncated, or other patterns that resulted in failed data integrity. Very few applications considered handling warnings as errors, and there is a generation of software products that have never informed the developers that warnings were occurring.
The most simplest example is:
CREATE SCHEMA IF NOT EXISTS warnings; USE warnings; CREATE TABLE short_name( id INT UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(20) NOT NULL, PRIMARY KEY(id) ); INSERT INTO short_name (name) VALUES ('This name is too long and will get truncated'); ERROR 1406 (22001): Data too long for …[Read more]
Some 15 years ago, when Oracle acquired Sun, and hence MySQL, there was a lot of talk on the internet over when Oracle was going to “Kill MySQL”. Multiple theories were circled around, ranging from killing MySQL altogether, so there is less competition to proprietary Oracle, or just killing it as an open source project, […]
Keeping Your Data Safe: An Introduction to Data-at-Rest Encryption in Percona XtraDB Cluster. Data breaches are a major concern today. Whether you’re a business owner or value your privacy, the thought of your sensitive information being exposed is unsettling. Fortunately, data-at-rest encryption can help. Think of it as a sophisticated lock that scrambles your data, […]
OpenLiteSpeed is a lightweight and open-source version of the LiteSpeed Server developed by LiteSpeed Technologies. It supports Apache Rewrite rules, HTTP/2 and HTTP/3, and TLS v1.3 and QUIC protocols. This tutorial will show you how to install an OpenLiteSpeed Server on Ubuntu 24.04.
MySQL Shell offer many features to make life easier for DBAs and developers. In this post we discuss how to check if a database instance has any compatibility issues in upgrading to a newer versions of MySQL.
MySQL Shell offer many features to make life easier for DBAs and developers. In this post we discuss how to create and manage sandbox instances of MySQL on your local system.
In this blog, we introduce a Quick Start solution for deploying WordPress on Oracle Cloud Infrastructure (OCI). Discover how this solution leverages OCI's automation and MySQL HeatWave Database to effortlessly deploy a fully functional WordPress instance.
Episode #65 of MySQL Shorts in now available!
Some years ago, I wrote an article on connecting to MySQL 8.0 using the default authentication plugin (caching_sha2_password) with Perl. I also provided Perl-DBD-MySQL packages for EL7.
Somebody recently left a comment as he was looking for a
perl-DBD-MySQL driver compatible with the
caching_sha2_password
for Rocky Linux 8 (EL8 or OL8
compatible).
Therefore, I build two new packages supporting the latest perl-DBD-MySQL driver, version 5.005.
The difference is related to the version of libmysql they are linked to.
libmysql.so.21
for MySQL 8.0 and
libmysql.so.24
for MySQL 8.4 LTS:
MySQL 8.0
$ rpm -qf …
[Read more]