There was a time when tag-clouds were the thing for website owners to fancy oneself. These clouds are mostly gone, but seen from the perspective of how to implement such a thing, one can learn quite a lot, especially with large amounts of links. Anyway, imagine you publish some articles on your website, which are stored in a table "post" and you want to to add tags to every post in order to print a tag-cloud.
When analysing MySQL configuration and status information at customers it is always
interesting to see how the applications behave. This can
partially be seen by the output of the SHOW GLOBAL STATUS
command. See also
Reading MySQL fingerprints.
Today we wanted to know where the high
Com_create_table
and the twice as high
Com_drop_table
is coming from. One suspect was
TEMPORARY TABLES
. But are real
temporary …
Percona announces the release of Percona Server 5.5.50-38.0 on July 8, 2016.
Based on MySQL 5.5.50, including all the bug fixes in
it, Percona Server 5.5.50-38.0 is now the current stable
release in the 5.5 series.
Percona Server is open-source and free. Details of the release can be found in the 5.5.50-38.0 milestone on Launchpad. Downloads are available here and from the Percona Software Repositories.
New Features: …
[Read more]Percona announces the release of Percona XtraBackup 2.3.5 on July 8, 2016. Downloads are available from our download site or Percona Software Repositories.
Percona XtraBackup enables MySQL backups without blocking user queries, making it ideal for companies with large data sets and mission-critical applications that cannot tolerate long periods of downtime. Offered free as an open source solution, Percona XtraBackup drives down backup costs while providing unique features for MySQL backups.
…
[Read more]MySQL sys version 1.5.1 has just been released.
This is a purely bug fix release, and has been merged in to the upcoming MySQL 5.7.14 release.
Here’s a full summary of the changes:
Improvements
- A quote_identifier function was added, which can be used to properly backtick identifier names
- The `Tls_version` column was added to the output from the `mysql.slave_master_info` table, from the `diagnostics` procedure (backported from 5.7 upstream change)
Bug Fixes
- MySQL Bug #77853 / Oracle Bug #21512106 – The `format_path` function did not consider directory boundaries when comparing variables to paths – it now does. Also fixed to no longer translate …
In this post we are going to explain how to connect a Node.js application to a MySQL server using the new MySQL Connector/Node.js; needless to say that we will be using the MySQL server as a document store.
There are two types of session that a connection can provide:
XSession and NodeSession.
An XSession encapsulates access to a single MySQL server running
the X Plugin or
multiple MySQL Cluster nodes; and the NodeSession serves as an
abstraction for a physical connection to exactly one MySQL server
running the X Plugin. To enable the XPlugin in the MySQL server
using the MySQL Client command line you need to use the root
account or an account with INSERT privilege to mysql.plugin
table:
- Invoke the MySQL command-line client: mysql -u user –p
- Run the following command: INSTALL PLUGIN mysqlx SONAME …
Percona announces the release of
Percona Server 5.6.31-77.0 on July 7th, 2016.
Download the latest version from the Percona web site or the Percona Software Repositories.
Based on MySQL 5.6.31, including all the bug fixes in it, Percona Server 5.6.31-77.0 is the current GA release in the Percona Server 5.6 series. Percona Server is open-source and free …
[Read more]Welcome to this week’s Planets9s, covering all the latest resources and technologies we create around automation and management of open source database infrastructures.
Join the Conversation: Severalnines Launches #MySQLHA
CrowdChat
This new CrowdChat is brought to you by Severalnines and is hosted by a community of subject matter experts. CrowdChat is a community platform that works across Facebook, Twitter, and LinkedIn to allow users to discuss a topic using a specific #hashtag. This crowdchat focuses on the hashtag #MySQLHA. So if you’re a DBA, architect, CTO, or a database novice, sign up and become part of the conversation! |
|
*Updated with comments from MySQL at end of post. *
I’ve worked with a lot of the different flavors of SQL, including Oracle, SQL Server, Postgres, and SQLite, so I thought I knew all nuances of different SQL syntaxes. But I’ve recently been working with a project that’s using a LAMP stack, so I’ve gotten a lot more understanding of the MySQL’s caveats.
I’m working on some data manipulation that requires window functions in MySQL, and I learned the hard way that MySQL doesn’t support them.
Window functions are essential to most types of data manipulation because they allow for calculation across similar groups of rows without having to actually group the rows together and meld the data.
This kind of aggregation comes up all the time in business analysis and data science, for example, if …
[Read more]Password management is an issue for many. It is not uncommon for an organization to require you to changing your password on a regular basis and many have rules on the length and content of passwords. The length and complexity (that require certain amounts of upper & lower case characters, special characters, and numerals) rules try to prevent users from using '12345', 'qwerty', or even the word 'password' itself as passwords. With MySQL 5.7 you can filter out those bad passwords, obscenities, slurs, or other words you do not want used as or part of a password.
If the STRONG password policy is set in the my.cnf file, a validate_password_dictionary_file can be specified and you can use your favorite text editor to add the words or phrases you wish to not be valid in that file. Note that words shorter than four characters are ignored. So create a file with a text editor ( mine was placed in /var/lib/mysql/dit) with …
[Read more]