MySQL management, tutorials, scripts, coding, programming and tips for database administrators
Rob Gravelle updates the closest_restaurants procedure, from the MySQL: Calculating Distance Based on Latitude and Longitude tutorial, to utilize some of the new MySQL Geo-Spatial Functions, including ST_AsText(), Point(), ST_Distance_Sphere(), ST_Contains(), and ST_MakeEnvelope().
Rob Gravelle gives a rundown on how to use the "Debugger for MySQL" stand-alone GUI application on your stored procedures.
In this follow up to the Generating Reports on MySQL Data article, Rob Gravelle converts an existing report into a crosstab and adds a subreport using the Navicat for MySQL database administration GUI.
With the proliferation of mobile devices being at an all-time high, there has never been more demand for "Find near me" type apps. Rob Gravelle shows how to fetch a list of nearby restaurants sorted by distance using nothing but the power of MySQL!
Unless you’re writing application code that can deal with multiple result sets, it’s usually preferable to merge several similar queries together so that their results may be viewed as one data set. This tutorial offers a brief overview on how to accomplish this task using both the UNION and UNION ALL operators and provides a few examples to get you started.
Rob Gravelle provides an overview of reporting tool types as well as some practical experience in report building using the reporting facilities of the Navicat for MySQL database administration GUI.
Fuzzy searching has become a very prominent feature of Web search engines like Google. You can implement fuzzy text searching within your MySQL database by using a combination of built-in and user functions. Rob Gravelle demonstrates how to use the native SOUNDEX MySQL function.
The MySQL Workbench introduced Performance Tools in version 6.1.0 and updated them further in version of 6.2. Rob Gravelle gives an overview of MySQL Workbench Performance reports.
MySQL's Performance Schema provides a way to troubleshoot a lot of common performance issues without having to rely on specialized third-party solutions. The fact that it uses regular SQL is also a big plus! Join Rob Gravelle as he explores the Performance Schema.
Gone are the days that a Database Administrator (DBA) spends his or her time between a desktop workstation and database server(s). Today, DBAs require tools that will allow them to perform administrative tasks wherever they may be and lately, the trend has been towards applications specifically targeted to mobile devices, since that is what people always have with them.
Being one of the most popular databases on the planet, MySQL administration has been made a whole lot easier thanks to a number of new mobile apps. Rob Gravelle picks out some of the more promising new products for iOS.
Rob Gravelle explores the perils of working with dates in MySQL.
Rob Gravelle highlights a gotcha related to MySQL's overflow handling of numeric values that are outside the permissible range of the column data type.