Mysql: Comments in Fields

April 9, 2008 by  
Filed under So Much Data

I never really noticed that you could create comments in your mySQL fields until now. My co-worker recently upgraded one of the web servers to have phpMyAdmin – 2.11.5.1, and the forms made the “comment” field more visible to me.

Below is a very basic table for “locations.” This simple table is for demonstration purposes only. ;)

Mysql table in PHPmyAdmin
Click on the image for a zoomed in view.
Read more

Related Products:

FQL: Facebook Query Language

February 26, 2007 by  
Filed under So Much Data

FacebookIntroducing, FQL! What is FQL you may ask? FQL is a way to query the same Facebook data you can access through the other API functions, but with a SQL-style interface. In fact, many of the normal API calls are simple wrappers for FQL queries. All of the usual privacy checks are still applied. A typical query looks something like this:

SELECT name, pic FROM user WHERE uid=211031 OR uid=4801660

Read More about the Facebook API here.

SQL Zoo

Interested in learning about databases? Try this great interative tutorial called SQL Zoo. Here, you can learn about: SQL Server, Oracle, MySQL, DB2, Mimer SQL, PostgreSQL and Access.

WordPress: Error 28

March 18, 2005 by  
Filed under So Much Data, Wordpress

I got an Error 28 after posting on my WordPress blog yesterday. So I searched the Support forums to find out why. I found this helpful wiki page that showed me how I can avoid the Error 28.

“If you get this error, check all filesystems in which MySQL operates. If you followed recommendations to split datadir, tmpdir and log files into dedicated filesystems, more than one filesystem is involved. In addition, be aware that MySQL often creates temporary tables for some queries. Most of these are placed in tmpdir; however, some may be found in the database directory (e.g. ALTER TABLE). Also, ensure that sufficient free disk space is available for MySQL.”

If you get this error, running “repair table” in phpMyAdmin can fix it. Or just contact your host and let them know about the problem.