Blog posts tagged SQL
Now Available: MariaDB Crash Course

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.

Read More ›

MariaDB Crash Course Available For Pre-Order

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.

Read More ›

Manually Creating The MariaDB Windows Service

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:

view plain print about
1mysqld --install

You should see a message telling you that the service (named MySQL by default) was created.

Read More ›

Sams Teach Yourself Book Tops Lists

Sams Teach Yourself SQL in 10 MinutesA reader just pointed out to me that my my Sams Teach Yourself SQL In 10 Minutes is in's Top 10 lists in the databases, SQL, DBMSs, and databases categories. It's also #1 in the Relational Databases category! Cool! :-)

Read More ›

Sams Teach Yourself SQL OpenOffice Base Database

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.

Read More ›

New SQL Books Translations Into Chinese And Korean

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).

Read More ›

Adobe Developer Center On ColdFusion And SQL Injection Attacks

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.

Read More ›

SQL And Regular Expression Books Published In Chinese

My Sams Teach Yourself SQL In 10 Minutes and Sams Teach Yourself Regular Expressions In 10 Minutes have both been published in Chinese by Turing Book. Links are on the books pages. And here is a full list of all book translations.

Read More ›

MySQL Crash Course Now In Its Seventh Printing

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).

Read More ›

George Poulose Releases 64bit Query Tools

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.

Read More ›