Main Content

MySQL - an FAQ

Archive - Originally posted on "The Horse's Mouth" - 2005-12-03 07:34:22 - Graham Ellis

We're becoming a serious MySQL resource, with many technical articles, examples, forum posts and blog entries answering those difficult-to-resolve issues you may have come across. You might like to bookmark (or link to) this page.

Eleven recent articles on MySQL ...

Flashbulb moments - facts that clarify the "what" and "how" of MySQL

Copying databases and tables

Saving a result set locally for use in a spreadsheet

Setting up and running master and slave servers (replication)

Finding Orphan (unconnected) records in a database

How to translate a requirement to a table design

Complex select example - UNION, HAVING, GROUP etc

Exact, like and fuzzy matching of criteria

A PHP tool for ad-hoc MySQL queries

Joining a table to itself

Summing or averaging a column for each unique value in another column

and some old favourites:

What to do when you have a running system and realise that the design needs an overhaul

The difference between a JOIN and a LEFT JOIN

Uploading, storing and retrieving images in a BLOG

Writing joins of more than two tables

How to design and implement a many-to-many mapping

When to break the rules of normalisation

The vital difference between "Empty" and "Don't Know"

Optimising Selects

Using old client programs (4.0 and prior) on new servers (4.1 and later)

Other MySQL nuggets