For a very long time MySQL Connector/J has been published under the Maven coordinates group ID ‘mysql’ and artifact ID ‘mysql-connector-java’. Neither was fully compliant or been officially ratified. While a group ID mysql was originally possible, nowadays it would be very difficult to obtain approval to use a single word group ID. Those who […]
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
As we have Kubernetes installed in part one (see Using Percona Kubernetes Operators With K3s Part 1: Installation), now we will install Percona Server for MySQL Operator into the running cluster.
I will copy some ideas from Peter’s Minukube tutorial (see Exploring MySQL on Kubernetes with Minkube).
In this case, I will use not Percona XtraDB Cluster Operator but a regular Percona Server for MySQL with Asynchronous replication.
We have recently released version 0.3.0 and it is still in the technical preview state, so we are actively looking for more feedback!
If we go with all …
[Read more]This ProxySQL post is sourced from an error I faced recently ProxySQL has become one of the popular choice as the “proxy” for MySQL databases. This post is tipping you…
The post Can not connect to ProxySQL: reasons and fixtures first appeared on Change Is Inevitable.
Welcome to this week’s OpenLampTech newsletter. I have many great articles curated for you this week. Thank you for reading and please share the publication with others.
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.
In OpenLampTech issue #47, we are looking at articles covering:
- MySQL Spatial data types
- Build a blog backend with Laravel
- 10 Linux command-line operators
- MySQL row locking
- And much more
Want to support the OpenLampTech publication? Easy enough.
Head on over to …
[Read more]
Statement Digest in MySQL
https://dev.mysql.com/doc/refman/8.0/en/performance-schema-statement-digests.html
The parser is also used by the STATEMENT_DIGEST_TEXT() and STATEMENT_DIGEST() functions,
which applications can call to compute a normalized statement
digest and a digest hash value, respectively, from an SQL
statement.
events_statement_summary_by_digest in Performance Schema contains information
…
[Read more]in this tutorial, We’ll Learn how to fix MySQL ERROR 2002 Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock. Normally, This issue will occur when you connect the MySQL server through the command line, you might encounter a MySQL ERROR 2002 as follows: mysql -uroot -proot ERROR 2002 (HY000): Can’t connect to local MySQL […]
The post ERROR 2002 : Can’t connect to MySQL server through socket appeared first on Phpflow.com.
Let’s continue our journey of deploying the MySQL Database System
on OCI with Terraform.
This time we will see how we can use a backup (see [1] and [2]) as a source (initial data) for a new
instance.
Within the oci_mysql_mysql_db_system it’s possible
to define a source detailing how to provision the initial
data of the db system.
Let’s deploy a new MySQL Database Instance using a manual backup we made earlier:
We can also find the backup’s ocid using the oci cli
command:
$ oci mysql backup list …[Read more]
Today I would share a nice book related to MySQL 8.0 for our Chinese users.
The original title of this book by Scott Yao, is MySQL 8.0 运维与优化
I had the chance to read parts of the book before it was published to have my comment on the back cover.
This book is very detailed with many examples on how to
administer a MySQL server.
It covers the new features of MySQL 8.0 and Scott illustrates
perfectly how to take advantage of them.
Reading the book, it is obvious that the author is an experienced MySQL DBA and is sharing his experience that many junior DBAs can certainly benefit from.
This is a very technical book, as I like, I really recommend it to all Chinese people and I hope to see it translated into English too.
And finally I would thanks Scott for having sent to me a hard signed copy of the …
[Read more]
Recently I wrote an article on how to define a backup policy for
MySQL Database Service in OCI using Terraform. We saw that it
was possible to define tags (defined_tags and
freeform_tags) in the backup_policy
section of a oci_mysql_mysql_db_system resource.
However, it seems that these tags are never used for manual or automated backups in the MySQL Database Service backup process. In the strategy implemented on OCI, the backups inherit the tags from the MySQL DB system itself.
This means that if you want to have some custom tags on your backups, you need to specify them in the MySQL Database resource like this (on line 12):
resource "oci_mysql_mysql_db_system" "MDSinstance" {
admin_password = var.admin_password
admin_username = …[Read more]
A few weeks back, we faced an issue in a replication environment for a Managed Services client:
LAST_ERROR_MESSAGE: Worker 2 failed executing transaction ‘UUID:GTID’ at master binlog.0012345, end_log_pos 98765; Error ‘Operation CREATE USER failed for ‘test_user’@’10.10.10.10” on query. Default database: ‘mysql’. Query: ‘CREATE USER ‘test_user’@’10.10.10.10’ IDENTIFIED WITH ‘mysql_native_password’ AS ‘************”
After some initial investigation, we noticed that the user in the replica didn’t exist! Was MySQL going crazy? But then the customer mentioned they had the following error in the primary before being able to execute the query successfully:
root@localhost [mysql]> CREATE USER 'test_user'@'10.10.10.10' identified WITH 'mysql_native_password' BY …[Read more]