MySQL management, tutorials, scripts, coding, programming and tips for database administrators
In this follow-up to Beyond the LIKE Operator: Advanced Pattern Matching with MySQL, Rob Gravelle shows how to use the REGEXP operator to match alphanumeric characters, explores the role of meta-characters, and compares standard regular expression syntax to that of MySQL.
Even with a lot of experience under your belt as a Database Administrator (DBA), using Insert and Update statements can be a nerve racking affair. Rob Gravelle shares some common Insert and Update statements for copying data from one table to another.
Not so long ago, Rob Gravelle compiled a list of the most popular MySQL mobile apps for iOS. There are some excellent MySQL mobile apps available for Android as well. Rob Gravelle presents a selection of the popular choices.
MySQL introduced the SIGNAL and RESIGNAL statements in version 5.5 to raise your own error conditions from stored procedures, triggers, and events. Rob Gravelle demonstrates how to utilize both.
Many third parties create rich applications to facilitate database management, database development and database administration. Here are ten outstanding graphical interfaces for MySQL.
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.