Home » Archive by category 'Databases'

Archive for the ‘Databases’ Category

MySQL OLD_PASSWORD Issue

Saturday, April 26th, 2008

Many PHP developers out there are probably aware of the change in MySQL’s password hashing algorithm changes between version MySQL 4 and MySQL 5. It requires you to update User passwords when upgrading your database version. The syntax for how to do this is below. However, I just ran into a situation while doing maintenance on a web environment that required me to switch database servers and move and existing MySQL version 4.1.21-community-nt to 4.1.22-community-nt. Much to my surprise, this password hash change existing in MySQL 4.x even between minor releases.

SET PASSWORD FOR 'user'@'host' = OLD_PASSWORD('original-password');

Private Beta Testing

Sunday, April 6th, 2008

Well, the time has come. Its been a year and a half in the making… Please register for the private beta testing of Zigabid.com. For the promotion code enter “BJK” and you’ll get priority selection.

Selecting Random Rows in SQL Server 2005

Sunday, February 3rd, 2008

Here is a quick an easy way to select random rows in SQL Server 2005:

SELECT
     ColumnA, ColumnB
FROM
     dbo.[TableName]
ORDER BY
     NEWID()
Brian Kupetz

Thats me above wearing one of my favorite Adidas track jackets. This is my home on the web showcasing some of my work over the past few years in the Interactive Marketing/Advertising field. In addition to my portfolio you'll find some personal information about me as well as some ramblings on some of the research and development I participate in. Enjoy!

Browse by Category

Archives

Latest Work

hosted by        ©2007-2008 Brian Jeremy Kupetz. All Rights Reserved.

About this site | Google Sitemap