MySQL management, tutorials, scripts, coding, programming and tips for database administrators
As in all aspects of database development and management, specialized software has emerged to make the process of proper database design much easier to accomplish. In today’s tutorial, Rob Gravelle shows you how to design, implement, maintain, and synchronize MySQL database schemas using the Navicat Data Modeler.
While MySQL does feature Regular Expression matching via REGEXP operator it does not offer an equivalent to Oracle’s REGEXP_REPLACE function, which is all the more mysterious when you consider that Oracle owns MySQL! Join Rob Gravelle as he tries to account for this incongruence between the two DBMSes and searches for user-defined replacements.
When you think of Cloud services for database administration, Database as a Service (DBaaS) is what tends to comes to mind, but one of the ways that the Cloud has had an enormous impact on our work productivity is in the area of collaboration.
The MySQL 5.7.7 JSON Lab release introduced a native JSON datatype, which opened the door for handling JSON data in ways that were previously impossible. Several new functions assist in the selecting of data from a JSON document. We covered a few of them; in this article Rob Gravelle shows you some additional functions for searching on JSON values in MySQL 7.
Both management and various departments rely on data reports to help guide their business decisions. Rob Gravelle presents ten open source and commercial report generation tools for MySQL and other relational databases.
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.
A few things have changed in the database landscape since our Top 10 MySQL GUI Tools list was compiled--in particular the emergence of cloud services. Keep that in mind when searching for the right MySQL admin tool.
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!