A Quick Security Update
Starting with MySQL 5.7.6, the following functions are now deprecated:
DES (Data Encryption Standard) is known to be less secure and slower than other available encryption methods. There are also many …
[Read more]A Quick Security Update
Starting with MySQL 5.7.6, the following functions are now deprecated:
DES (Data Encryption Standard) is known to be less secure and slower than other available encryption methods. There are also many …
[Read more]Yes, after many hours, late nights, hair pulling, some private yelling:
core@master ~/mysql_replication_kubernetes/galera_sync_replication $ kubectl get pods
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS
pxc-node1 10.244.72.7 pxc-node1 capttofu/percona_xtradb_cluster_5_6:latest 172.16.230.136/172.16.230.136 <none> Running
pxc-node2 10.244.15.2 pxc-node2 capttofu/percona_xtradb_cluster_5_6:latest 172.16.230.134/172.16.230.134 <none> Running
pxc-node3 10.244.42.2 pxc-node3 capttofu/percona_xtradb_cluster_5_6:latest 172.16.230.135/172.16.230.135 <none> Running
mysql> show status like 'wsrep_incoming_addresses';
+--------------------------+----------------------------------------------------+
| …
[Read more]
Wed, 2015-04-01 10:28guillaumelefranc
Upgrading a running MariaDB Galera Cluster from 5.5 (previous stable) to 10.0 (stable) is a question which comes up frequently with Remote DBA customers. Although a standard migration from 5.5 to 10.0 is well covered in the Knowledge Base, Galera Cluster upgrades haven’t been really documented in detail now. This howto will cover upgrades on CentOS or RHEL 6 but a similar logic can be applied to Ubuntu/Debian as well.
Prerequisites
It is indeed possible to do a rolling cluster upgrade if the Galera API and provider versions are compatible. Please refer yourself to my previous blog article (https://mariadb.com/blog/deciphering-galera-version-numbers) if you need to understand more about Galera versioning. A simple way to ensure Galera compatibility is to upgrade first to the latest 5.5 Galera …
[Read more]Recently Todd Farmer shared an interesting story about the mysql command line prompt in MySQL 5.7: how it was changed to provide more context and why the change was finally reverted. This made me think that after using the command line client for MongoDB for awhile, I would love seeing a much more modern mysql shell prompt. Here are a few examples of what a modern command line client can do.
Add dynamic information to the prompt
If you use replication with MongoDB, you have probably noticed a nice feature of the prompt: it is replication aware. What I mean is that for a standalone instance, the prompt is simply:
>
When you configure this instance to be the primary of a replica set named RS, the prompt automatically becomes:
RS:PRIMARY>
and for secondaries, you will see:
…[Read more]1) Update_time not accurate in information_schema.tables
Information_schema.tables has a field called update_time and in 5.6 you will notice that it is always NULL. Future versions of MySQL will fix this problem
2) Multiple instance manager
Currently creating , managing and dropping instances in MySQL requires many DBA hours. mysqld_multi is there to help you but it requires initial configuration and there are other third party utilities that could come to your rescue
It would be better to have built in utilities to help us in this regard.. For example db2 has db2icrt that creates an instance , db2ilist to list instances and db2idrop to drop an instance
3) Quiesce database in MySQL
There is no built in quiesce option to block all activity on the database/instance. Although method mentioned in below URL will help you in doing manual quiesce …
[Read more]
Everything seemed complete after configuring my standalone MySQL instance to a LAMP
installation, but last night I started playing with the image
files. It turns out that I failed to install the
php-gd
library.
There’s very little feedback when you try to troubleshoot why you
can’t read an image. In fact, the error message for reading the
BLOB
from MySQL was only available on the local
Firefox browser:
The image "http://localhost/ConvertMySQLBlobToImage.php" cannot be displayed because it contains errors. |
The fix requires root
to install the
php-gd
library with the yum
utility:
yum install php-gd |
You’ll need to answer …
[Read more]VividCortex is thrilled to announce the latest in personalizing your database monitoring experience. System stall? On the go? Look no further than directly in front of your face. Our Google Glass app allows you to see unprecedented query detail even when away from your computer. Save precious seconds as you interactively scroll through features to solve your database problems while in the store, out for coffee or home for dinner.
To explore additional features and see what VividCortex can do for you, start your free trial today!
Few months ago, when MySQL Engineering Team moved MySQL Server
sources to GitHub I found it would be waste of time to manually
copy all scripts which I use to regularly and automatically build
and test all versions, needed for verifying bug reports. I run
these scripts on 3 machines at least. So I started my own GitHub
project, called mysql-scripts
Now this project contains four scripts. First one is
build.sh which I use for building. By default it
checks out MySQL Server sources, builds them in directory
$HOME/src/mysql-VERSION, then installs to
$HOME/build/mysql-VERSION But all configuration is
settable. For example, now I regularly build Percona Server with single command `build.sh -g …
The mysql>
command-line prompt is iconic, shown
in countless documentation pages, forum posts, tutorials and
manuals. It’s immediately identifiable – one look, and you
immediately know the context in which commands are being
executed. So it’s only with good reason that we would consider
changing the prompt value to something else, and Daniël van Eeden
provided a compelling suggestion to modify this to
provide user, host and database context. Because the mysql prompt
is user-configurable, this is easy to do dynamically:
mysql> prompt something> PROMPT set to 'something> ' something> select 1; +---+ | 1 | +---+ | 1 | +---+ 1 row in set (0.00 sec) something>
Using the special character …
[Read more]Itchy Ninja Software is pleased to announce the release of Analyst for MySQL v1.1. Revolutionize the way you work and administrate MySQL, MariaDB, Galera, and Percona XtraDB installations.
Make More Efficient Use of Your Time
Gathering all of the metrics to diagnose a database installation is a very time consuming process, and many simply do not have the experience to know where to begin. With Analyst for MySQL, you will be able to get your hands on hundreds of metrics within moments. It really takes all of the guesswork, as well as tedious long sessions of writing queries out of managing a MySQL database server.
Cross-Platform
Not only can you run the program on Windows, Mac, or Linux, you can also generate server reports from each of those platforms as well! No need to install anything on the server at any time. All diagnostics are run from your laptop or desktop machine. The …
[Read more]