Over the years, MySQL has used three different mechanisms for securing passwords both for storage and for transmission across networks. This blog post aims to provide a brief history of the various mechanisms and highlight reasons to migrate accounts to use the sha256_password mechanism introduced in MySQL Server 5.6.…
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Ever get called out for a MySQL issue only to realize that there was no issue? It was a false alarm from the monitor. We sure have and it’s frustrating, especially at 3:00 or 4:00 in the morning!
Many DBAs work in an environment where there is some sort of first level support that gets assigned tickets first. Unfortunately, many of the times these groups are, shall we say, less than skilled in MySQL. As a result, they quickly escalate the ticket onto the primary on-call DBA, even when there is really nothing wrong.
Much of the time, there are multiple types of MySQL topology in these environments: standalone, galera cluster, replication, etc. Writing large runbooks with detailed test cases can be a daunting process and one that will cause many first-level support engineers to give up and simply escalate the issue anyway.
In an effort to avoid undue call outs, we developed a simple bash …
[Read more]
In the previous blog post we setup a replication
topology with one master and 2 slaves, and we installed proxysql
on a forth servers where the application should connect to.
The post was quite long, and we covered several topics, from
installation and configuration of the cluster to installation of
proxysql and creation of users and backends, from configuration
of query rules for routing and their statistics to monitoring
module and replication lag.
But ProxySQL can do more than this.
Among the most interesting features of proxysql is the ability to
hold traffic until a backend is available (within a configurable
time limit).
For instance, if a query should be send to hostgroup 0 but there
is no servers in hostgroup 0, ProxySQL will wait until a server
is available in hostgroup 0 or a timeout expires.
…
Percona is glad to announce the release of Percona Server 5.6.26-74.0 on September 15, 2015. Download the latest version from the Percona web site or from the Percona Software Repositories.
Based on MySQL 5.6.26, including all the bug fixes in it, Percona Server 5.6.26-74.0 is the current GA release in the Percona Server 5.6 series. Percona Server is open-source and free – …
[Read more]Hi all, keeping our steady release cycle, it is time again to do another preview release of MySQL Group Replication, the plugin that brings multi-master update everywhere to MySQL, like we described in Hello World post.
We are very proud to do the fourth preview release of MySQL Group Replication, version 0.5.0 based on MySQL Server 5.7.8, which introduces new exciting features, please enjoy the highlights!…
One of the key features of MySQL Group Replication is its distributed recovery mechanism. Whenever a new member joins a server group, making use of this plugin component, it reaches to a suitable donor and fetches the data that it misses up until the point it is declared online.…
What is headless web browsing?
It's using a web-browser like application to do automated
fetching and analysis of web pages, without a human user
present.This is different from simply fetching HTML content via
HTTP; headless web browsers typically also load images, process
Javascript code, CSS and layout the page content (albeit in an
invisible way).
The developer can then use scripting (usually Javascript) to
examine the page as it is laid out in memory, as if in a "real"
web browser, to look at the style of text, etc.
We could even use OCR to look for text within images shown in the
page. Why?
- More effectively analyse the content of pages. Lots of pages nowadays contain a huge amount of "boiler plate" uninteresting text, often in HTML elements without semantic meaning (e.g. DIV). Only by using CSS (and sometimes Javascript) are we able to have a computer see the page as a human would
- Generation …
Introduction
This document outlines best practices for loading data into MySQL very quickly. While this is not a comprehensive list of loading methods and configuration, it is a good starting point.
MySQL Configuration
Assuming you are loading into InnoDB tables (and you should probably be doing so), you will want to ensure that MySQL is properly performance tuned for loading large amounts of data. Out of the box MySQL configuration is rarely sufficient for performance with MySQL. It is essential that the InnoDB settings, in particular, be set properly.
First of all, consider the InnoDB Buffer Pool. If you are doing a one-time load, it may be a good idea to configure this as large as possible. In fact, we sometimes set this to approximately 90% of the available RAM on the system for the load. This can then be dropped to between 70 and 80% for …
[Read more]I am attending Percona Live Amsterdam 2015 on September 21-23, 2015.
I will be on stage three times:
- September 22nd at 2:10pm Pivot tables: analytics in pure SQL
- September 23rd at 2:10pm The future of replication is today: new features in practice
- September 23rd at 5:10pm as host and speaker in the Lightning talks
My first talk is a topic that has ben among my favorites for long time: I published an article about it in 2001, and several …
[Read more]In order to simplify the configuration of MySQL for standalone nodes, clusters, and replication configurations, we decided it would be easiest to maintain a common my.cnf file. We have to admit, the idea wasn’t ours; we picked the idea up from www.fromdual.com and thought it was such a great idea, we decided to implement it as well.
Below is our version of a standardized my.cnf implementing
several of our best practices. We hope it will be of
benefit to you.
######################################################################################################## # my.cnf (Configuration file for MySQL) # # Provided by Itchy Ninja Software to implement general best practices for MySQL regardless of server # type. We chose a single file instead of maintaining multiple versions of the configuration file. # Based upon http://www.fromdual.com/mysql-configuration-file-sample # # Sections are included for Percona XTRADB Cluster …[Read more]