Quantcast
Channel: Another MySQL DBA
Browsing all 43 articles
Browse latest View live

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 Article



Percona 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 Article

WebScaleSQL 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 Article

MySQLUserclone 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 Article

MySQL 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 Article


WebScaleSQL 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 Article

Heartbleed 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 Article

MySQL 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 Article


MySQL 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 Article


MySQL 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 Article

A 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 Article

MySQL 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 Article

Installing 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 Article


MySQL 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 Article

MySQL 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 Article


MySQL, 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 Article

MySQL 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 Article


MySQL 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 Article

MySQL 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 Article

Rotating 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
Browsing all 43 articles
Browse latest View live




Latest Images