There are many users of MySQL in Cloud environment regions. It’s ideal that those MySQL instances are implemented with only private-ips in the respective Subnet. No public-ips. For that matter, all cloud infrastructure resources are ideally placed behind networks that provision only private-ips. This limits any front-end attack surface for an application stack. Certainly the up coming MySQL… Read More »
As a MySQL database administrator, we all using the MySQL client program for communicate to MySQL Server . Maximum the client program is used to execute the SQL’s, monitor the traffic and modify the variables . MySQL client program has some good features which can helps to make our work easier . In this blog I am going to explain some MySQL client program features which impressed me .
- Execute the OS commands inside the MySQL client program
- Create / Execute the SQL file inside the MySQL client program
- Query output with XML and HTML languages
- MySQL client program for learning MySQL commands .
- Pager with MySQL client program
- Safe UPDATE / DELETE with MySQL client program
- Define the maximum number of rows in result set ( SELECT’s )
Execute the OS commands inside the MySQL client program :
Yes, It is possible to execute …
[Read more]
I have over the last few years been fortunate to have two books
published through Apress, Pro MySQL NDB Cluster which I wrote together with
Mikiya Okuno and MySQL Connector/Python Revealed. With the release
of MySQL 8 around a year ago, I started to think of how many
changes there has been in the last few MySQL versions. Since
MySQL 5.6 was released as GA in early 2013, some of the major
features related to performance tuning includes the Performance
Schema which was greatly changed in 5.6, histograms,
EXPLAIN ANALYZE, hash …
If you are going to migrate your MySQL workloads to GCP’s managed database service CloudSQL, then you have to keep these points in mind. We have done a lot of CloudSQL migrations. But sometimes it’s not smooth as we thought. Generally, people don’t even think that these thinks will make the replication failure. I listing 3 things that ate our brain and time while migrating to CloudSQL.
1. Server character set:
CloudSQL by default using utf8 as the server
character set. But it is customizable, we can change it any time.
But still, it’ll mess up your application later. We had a MySQL
server on a VM where the server’s character set was
latin1. We dump the database and restore it to
CloudSQL. While launching the CloudSQL we didn’t set up any
Database flags. So the data restore with utf8
character set.
Before Migration
mysql> SHOW SESSION …[Read more]
If you are going to migrate your MySQL workloads to GCP’s managed database service CloudSQL, then you have to keep these points in mind. We have done a lot of CloudSQL migrations. But sometimes it’s not smooth as we thought. Generally, people don’t even think that these thinks will make the replication failure. I listing 3 things that ate our brain and time while migrating to CloudSQL.
1. Server character set:
CloudSQL by default using utf8 as the server
character set. But it is customizable, we can change it any time.
But still, it’ll mess up your application later. We had a MySQL
server on a VM where the server’s character set was
latin1. We dump the database and restore it to
CloudSQL. While launching the CloudSQL we didn’t set up any
Database flags. So the data restore with utf8
character set.
Before Migration
mysql> SHOW SESSION …[Read more]
Percona is happy to announce the experimental release of Percona XtraDB Cluster 8.0. This is a major step for tuning Percona XtraDB Cluster to be more cloud- and user-friendly. This is the second experimental release that combines the updated and feature-rich Galera 4, with substantial improvements made by our development team.
Improvements and New Features in Percona XtraDB Cluster
Galera 4, included in Percona XtraDB Cluster 8.0, has many new features. Here is a list of the most essential improvements:
- Streaming replication to support large transactions
- The synchronization functions allow action coordination (wsrep_last_seen_gtid, wsrep_last_written_gtid, wsrep_sync_wait_upto_gtid)
- More granular and improved error logging. wsrep_debug is …
Today we will see how to install WordPress in Oracle Cloud (OCI).
We will use Oracle Cloud’s Free Trier and deploy 2 compute instances:
- the webserver (apache, PHP and WordPress)
- the database server (MySQL 8.0)
We will use one public IP to reach our site and our two servers will communicate using their own private network:
Deploying 2 compute instances
Let’s start by creating 2 compute instances:
We will use the Oracle Linux 7.7 on Micro Instances:
As I am in Belgium, I use the Frankfurt datacenter.
When our instances are deployed, we can find the public IP of one of them. This is the one we will use as webserver (you can free the public IP on the other one, the MySQL one):
At the creation, we entered a ssh key to access …
[Read more]A MySQL User Camp was held on 5th March 2020 at Oracle India Pvt Ltd, Kalyani Magnum Infotech Park, Bangalore, India. The attendees included developers, DBAs and trainers from Amex, Robert Bosch, Flipkart and others.
Sanjay Manwani, the Senior Director of MySQL Engineering India, presented an informative session which highlighted MySQL’s recent achievements like the DB of the Year award and the #1 ranking in the Most Popular DB with Developers StackOverflow survey.…
Tweet Share
MySQL 5.7.11 introduced InnoDB transparent tablespace encryption, which enabled support for file-per-table tablespaces, and this feature is discussed in this blog.
Later in MySQL 8.0.13, encryption for general tablespace was introduced.
To improve usability of encryption handling, MySQL 8.0.16 added several features to enable, disable and enforce table encryption for tables within a schema, general tablespace or entire MySQL system.…
Facebook Twitter LinkedIn
MySQL is a free, open-source and one of the most popular database systems around the globe. In this tutorial, we will show you how to install MySQL 8 on CentOS 8 server.