Version 5.5-3.1.2 is released which fixes the bug #40 (The server hangs when query limit is used and the query generates temporary table.)
See Download page.
Version 5.5-3.1.2 is released which fixes the bug #40 (The server hangs when query limit is used and the query generates temporary table.)
See Download page.
There are several ways to upgrade MySQL. In this post, we will use a combination of shell scripts and the mysqldump application to export our MySQL data, and then re-import it back into the upgraded version of MySQL.
In this example, we will be doing a minor version upgrade. We will be going from 5.6.17 to 5.6.19. This method may not work if you are upgrading from one major release to another – from 5.1 to 5.5, or 5.5 to 5.6. You will want to check each version and review the new features/functions and also what features/functions have been deprecated. We are also assuming that no one will be using the database during the time it takes for us to do the upgrade.
If you want to upgrade from a …
[Read more]The MySQL Utilities Team is pleased to announce the latest GA release of MySQL Utilities, release-1.4.4. This release includes improvements in terms of usability, stability, security and an overall improvement regarding the comprehensibility of the provided error messages.
Improvements
The following highlights a few of the more significant improvements.
The MySQL Utilities Team is pleased to announce a new release that contains our newest features – SSL and configuration file support. These were added to release-1.5.0-alpha.
How can I make a secure connection to my server via Utilities?
Use the new SSL command-line options that are available for all utilities:
–ssl-ca : The path to a file that contains a list of trusted SSL
certificate authorities.
–ssl-cert : The name of the SSL certificate file to use for
establishing a secure connection.
–ssl-key : The name of the SSL key file to use for establishing a
secure connection.
Then just specify the appropriate values on the command-line with any other parameters.
How can I use configuration files?
If typing all of those SSL options seems tedious, you can specify this information in your configuration file and reference the file via a new syntax. You can also supply a path to …
[Read more]Dear MySQL users,
The MySQL Workbench team announces availability of version 6.1.7
of its
flagship product. MySQL Workbench 6.1.7 is a periodic maintenance
release
including 17 bug fixes. Additionally, the supported Linux
distribution list has been
refreshed. Users of the product are recommended to upgrade to
this version.
MySQL Workbench 6.1
With over 30 new features, this version has many
significant
enhancements focusing on real-time performance assessment and
analysis
from the SQL statement level to server internals and file IO. You
can
see this from additions to the SQL Editor as well as new
dashboard
visualization and reporting that take advantage of MySQL Server
5.6
and 5.7 Performance Schema, and enhancements to the MySQL Explain
Plans.
Additionally Workbench 6.1 is leveraging work from various
teammates in
MySQL Engineering by …
1. Backup script
#!/bin/sh
# Fri Jun 27 10:44:49 2014
# done by dragkh
# usage:
# cat /etc/cron.d/backupmysql
# 0 3 * * * root /root/bin/clean.backup.hyperion.mysql.mydumper.daily.sh >> /var/log/clean.backup.${HOSTNAME}.mysql.mydumper.daily.log 2>&1
# 35 3 * * * root /root/bin/backup.hyperion.mysql.mydumper.daily.sh >> /var/log/backup.${HOSTNAME}.mysql.mydumper.daily.log 2>&1
ROOT_BACKUP_DIR="/home/mydumper"
seik_date () {
if [ -z $1 ]
then
# cdate=`date +%Y-%m-%d\ %H:%M:%S\ %Z`; export cdate; echo $cdate
cdate=`date -R`; export cdate; echo $cdate
else
if [ -z ${2} ]
then
cdate=`date +%Y-%m-%d.%H.%M.%S`; export cdate; echo $cdate
else
cdate=`date "+%Y-%m-%d %H:%M:%S"`; export cdate; echo $cdate
fi
fi
}
function check_dir {
test ! -d "${1}" && mkdir -p "${1}"
}
function set_cpu_threads {
# set the threads one less than the existing
threads=$(cat /proc/cpuinfo | grep processor | tail -1 | awk …[Read more]
“There are four things that motivate open source
development teams:
1. The challenge/puzzle of programming, 2. Need for the software,
3. Personal advancement, 4. Belief in open source” — Bruce
Momjian.
On PostgreSQL and the challenges of motivating and managing open source teams, I have interviewed Bruce Momjian, Senior Database Architect at EnterpriseDB, and Co-founder of the PostgreSQL Global Development Group and Core Contributor.
RVZ
Q1. How did you manage to transform PostgreSQL from an abandoned academic project into a commercially viable, now enterprise relational database?
Bruce Momjian: Ever since I was a developer of database …
[Read more]MySQL Fabric – High Availability & Automated Sharding for MySQL
MySQL Fabric is built around an extensible and open source framework for managing farms of MySQL Servers. Currently two features have been implemented – High Availability (built on top of MySQL Replication) and scaling out using data sharding. These features can be used in isolation or in combination. MySQL Fabric aware connectors allow transactions and queries to be routed to the correct servers without the need for a proxy node, so operations run as quickly as ever. In this webinar you will learn what MySQL Fabric is, what it can achieve and how it is used – by DBAs, Dev-Ops and developers. You’ll also be exposed to what is happening under the covers. In addition to the presentation, there will be live on-line Q&A with the engineering team. This is a great opportunity to learn about the latest developments directly from the people building them. …
[Read more]With Fabric's official GA release this week, I thought I would post a spin on how to setup a development environment loosely based on the Fabric Quick Start guide in the manual.
The notable change, is the use of MySQL Sandbox for bootstrapping each of the MySQL instances.
Step 1: Install the MySQL Utilities + Python Connector
In my case, I downloaded:
The GUI install in both cases works as expected. Next, Next, …
[Read more]So, the good thing about MEM 3.0 is that it’s agentless, i.e. you don’t need an agent to use Query Analyzer data and see when performance is at it’s worst and dive into the offending SQL’s and explain plans to see what’s happening.
That’s great, however, sometimes it’s not always an easy road to migrate to 5.6 and even if you’re doing so, there’s nearly always a time when you want to continue viewing things in 5.5.x and compare performance between the 2.
The thing is, that in order to see the Explain Plans we need 5.6.14 or upwards (and setting “UPDATE performance_schema.setup_consumers SET enabled = ‘YES’ WHERE name = ‘events_statements_history_long’;” ).
So, here’s how to do it:
– Use the MEM 2.3 Agent & proxy.
It’s really that simple. How simple? (Ref.Man: Using the …
[Read more]