Summary: Ben Forta's Blog - SQL
ColdFusion, Flex, Java, Mobile and Wireless, and whatever else tickles my fancy.
MariaDB is a fork
(offshoot) of MySQL, one of the most popular database management
systems in the world. MariaDB was created by the creator of MySQL
to address some of the limitations and shortcomings in MySQL, and
is intended to be a drop in replacement for MySQL as well. At the
request of
Monty
Widenius, creator of MySQL and MariaDB, I ported my
best-selling
MySQL Crash Course to focus specifically on MariaDB.
The new book,
MariaDB Crash Course, was just released and is now
available for purchase.
Note: As already noted, MariaDB is
based on MySQL. Indeed, it can be thought of as MySQL plus new
features and improvements. In other words, if you have used MySQL
then you already know how to use MariaDB. As such, if you have a
copy of my MySQL Crash Course or my Sams Teach
Yourself SQL In 10 Minutes, then you'll likely NOT want a copy
of this new title.Date Published: Sep 18, 2011 - 7:06 am

At the request of Monty
Widenius, creator of MySQL and now
MariaDB, I ported my
MySQL Crash
Course to create a new book entitled
MariaDB Crash Course. The book won't be out for
a couple of months, but it is now available for
pre-order.
Date Published: Jul 27, 2011 - 6:17 am
I've been doing quite a bit of work with
MariaDB, a drop-in
replacement for MySQL (forked from the MySQL codebase by Monty
Widenius, the creator of MySQL). One issue I ran into is that the
current Windows installer does not create the Windows service that
you generally would want to use. And because I had to (yet again)
dig around today for the solution, I am posting it here for the
next time I need it. At a command prompt, go to the bin folder
under the MariaDB installation folder, and then run:
mysqld
--install You should see a message telling you that the
service (named MySQL by default) was created.
Date Published: Apr 05, 2011 - 10:15 pm
At the request of a reader, I created an OpenOffice Base version of
the example database used in my
Sams Teach
Yourself SQL in 10 Minutes. The file can be downloaded from the
book page. To use this, you'll obviously need
OpenOffice. And as
it turns out, Base is actually a really nice database to experiment
with, as it features a built-in screen that lets you simply enter
and execute SQL. So, once you have OpenOffice installed, here's
what you need to do:
- Open the book database with OpenOffice Base
- Select the Query tab on the left
- Click the "Create Query in SQL View" task to display the
Query Design screen
- Type your SQL in the window
- Click the Run Query button (it has an image of a green check
mark on top of 2 documents) to execute your SQL, you can also
just press F5 to run
- Your results will be shown above your SQL code (unless you
generate an error)
Thank you Roy (no last name provided) for the inspiration.
Date Published: Jun 30, 2010 - 3:02 pm
I just received three new translations of my books, two into
Simplified Chinese and one into Korean:
Links to the new translated versions, as well as all other
translations, are on the specific book pages. I am particularity
excited about the Korean translation, as this is my first book in
Korean, bringing the number of languages that my books have been
translated into to 16. Here is a
full list of
all the translations (that I am aware of).
Date Published: Nov 05, 2009 - 5:17 pm
I've discussed SQL injection attacks several times on this blog.
But, judging by how many sites fall victim to these attacks, it's
one of those topics that we can never discuss enough. Which is why
I want to point out a new Adobe Developer Center article by Adobe
Enterprise Developer Support Consultant Ryan Wagener entitled
Secure your ColdFusion application against SQL
injection attacks.
Date Published: Feb 16, 2009 - 5:44 pm

It's been two
and a half years since I published my
MySQL Crash
Course (a MySQL specific adaptation of my
Sams Teach
Yourself SQL in 10 Minutes), and during this time the book has
proven to be incredibly popular, especially with MySQL beginners.
And today I was informed that
MySQL Crash
Course is now in its seventh printing! Seven printings in two
and a half years, I think that's my new personal record. (BTW, it's
the same edition, so no need to buy another copy if you have one
already).
Date Published: Aug 01, 2008 - 12:35 pm
George Poulose's
Query Tools have long been a core part of my SQL
tools and utilities collection. And George just let me know that he
has released new Windows 64bit versions of his ODBC and ODO tools.
Date Published: Mar 04, 2008 - 12:17 pm
SQLite is a vital core component of newly released
AIR,
providing a local SQL data store for your desktop AIR applications.
Dave McAllister has
announced that Adobe has joined the SQLite
Consortium, supporting the continued growth and improvements in
SQLite.
Date Published: Feb 25, 2008 - 6:32 am
The Microsoft bookstore (on the Microsoft campus in Redmond, WA)
has only sold Microsoft Press books to date. But, starting next
week they will be selling select books published by other
publishers. And apparently my
Sams Teach
Yourself Microsoft SQL Server T-SQL in 10 Minutes is one that
they have selected to sell. So, any of you working for (or
visiting) Microsoft, feel free to pick up a copy! :-)
Date Published: Nov 28, 2007 - 2:14 pm
MySQL has released a beta of a new version of their Java driver. As
per
this post, MySQL Connector/J 5.1.2 is a Type-IV
pure-Java JDBC driver that is suitable for use with any MySQL
version including MySQL-4.1, MySQL-5.0, MySQL-5.1 beta or the
MySQL-6.0 Falcon alpha release. And this new driver contains code
that automatically detects ColdFusion and then adjusts settings to
optimize performance for ColdFusion use. Thank to Tom Jordahl for
bringing this one to my attention.
Date Published: Jul 20, 2007 - 1:19 pm
Pinalkumar Dave is a DBA with extensive SQL Server (and ColdFusion)
experience. I just stumbled upon his blog
SQL Authority
(via a link in a comment on my own blog) and am more than impressed
by some of his SQL Server related posts. If you use SQL Server,
then this is one blog you should add to your regular reading list.
Date Published: Jul 11, 2007 - 7:30 am