MySQL and OS X install and remove
So this is in reference to this bug:http://bugs.mysql.com/bug.php?id=67133 I happen to run across it so I figured what the heck test it out with 5.7 as well.I was also able to reproduce this error with...
View ArticlePercona CLOUD TOOLS -- MySQL Metrics
So I really like the fact that Percona is reaching out and offering solutions to help analyze MySQL concerns or issues with cloud.percona.com. It is pretty easy to install. The fastest way is to have...
View ArticleWebScaleSQL Installation attempted... part 1
Well if you have not see the news yet, then by all means follow this link and read about WebScaleSQL. Many thanks to the team of engineers from Facebook, Twitter and Google for their hard work on this....
View ArticleMySQLUserclone or just Copy MySQL Users
I recently ran across a MySQL Forum post that was looking for how to migrate users onto a new system.While this could be done a number of ways, I figured it gave me a chance to play and demo the...
View ArticleMySQL Explain & SQL_NO_CACHE
So today I was helping someone out with their database performance and ran across some poorly written queries. Now, certainly everyone makes mistakes, the goal is to do everything you can to avoid...
View ArticleWebScaleSQL Installation solved... part 2
This is a follow up to the : WebScaleSQL Installation attempted... part 1So being a typical geek, developer, idiot or whatever.. I failed to RTFM or in this case the FAQ. So once I paid attention and...
View ArticleHeartbleed secure & MySQL
Well a lot of concern, and rightfully so, has been made about the heartbleed bug recently. I do not think I should try to add much more than those that I consider experts have already mentioned. If you...
View ArticleMySQL Partitions timestamp - datetime
So I recently realized that I have not yet talked much about MySQL partitions.Many good blog posts on MySQL partitions already exists and I have listed a few...
View ArticleMySQL Benchmark with mysqlslap
So benchmarking different MySQL queries against your database is a wise thing to do. That should go without saying. While we optimize queries the best we can using EXPLAIN (and EXPLAIN EXTENDED)...
View ArticleMySQL ERROR 1118 (42000) MySQL 5.0 to MySQL 5.5 or above
So I recently had a TBs database that that I had to upgrade from MySQL 5.0 to MySQL 5.5.This blog post will touch on the following:sql_mode innodb_strict_mode SLAVE IO_THREAD During the mysql_upgrade...
View ArticleA look at MySQL 5.7 DMR
So I figured it was about time I looked at MySQL 5.7. This is a high level overview, but I was looking over the MySQL 5.7 in a nutshell...
View ArticleMySQL Magic Square 4x4 : Routines, Loop , Variables
I got sidetracked today playing with Magic Squares and thought it might be a good chance to give an example of using MySQL Routines , Loops and IF checks. So If you are unaware of what a Magic Square...
View ArticleInstalling Percona XtraDB Cluster
So of course Percona has documentation that explain the process. The goal of this blog is to go into a little more detail in hopes that can help someone. Hyperlinks for review: CentOS -...
View ArticleMySQL random integers
This is not a new feature by any means but it is a question I have happen to see pop up every now and then. So a quick example is following.To generate a random integer within MySQL you can use the...
View ArticleMySQL Table error 1064
So I came across an odd situation today.I have a system that creates memory tables using the PHP $_COOKIE['PHPSESSID'] value.Once some work is done it then drops the table.Two sample tables are below...
View ArticleMySQL, Ubuntu:: mysqld does not have the access rights
So today I happen to need to restore a MySQL database from backups so I could recover some tables. While I left he production database running via port 3306, I set up the backup via port 3307.However,...
View ArticleMySQL secure_auth error
I addressed the secure_auth errors before when it blocks replication in this blog post.However, I figured I would make this blog post a more general fix when connecting via MySQL clients. This is for...
View ArticleMySQL Foreign Keys Example & ERROR 1452
So I ran across a situation today dealing with having to update a field but the user was unable to do so because of the related foreign key constraints.This blog post with be a simple example showing a...
View ArticleMySQL User connections
So I found myself explaining the differences with MySQL users and how they authenticate. First of all this information is not new but can be found...
View ArticleRotating MySQL Slow Logs
While working with different clients I happen to run across very large slow log files from time to time. While several opinions on how they should be rotated exist. Many of these opinions use log...
View Article