Google
 
Web promised-land-services.com

MySQL Database Upgrade Changes PASSWORD Field Lengths

I recently upgraded my server. The new server had a newer version of MySQL installed. And all of a sudden, my scripts that used passwords in the database tables quit working.

After doing some research, I found that MySQL changed the length on the PASSWORD function used in the SQL queries. The length of the field it produces is now 41 characters long. All my password fields were set too short and so they were not converting correctly. I changed my table layouts to 41 characters for password fields and everything worked correctly again.

One way to tell if your version uses the new length is to look for an asterisk (*) in the first character of the generated password. The new version always puts this asterisk at the beginning.

I didn’t research enough to understand everything about the change - I just didn’t have the time. You can find all the details at the MySQL website. I just read enough to know what I needed to change to make my passwords work again. But, I did read enough to know that the change was made to increase security in the encryption scheme used for the passwords. So, I guess that’s a good thing. :)


One Response to “MySQL Database Upgrade Changes PASSWORD Field Lengths”

  1. Promised Land Services News » Smooth Transition to New Server Says:

    […] The only real difference I’ve noticed that may cause some problems is the upgraded MySQL which can cause problems with old password scripts.  See my Tech Tip for today. […]

Leave a Reply

You must be logged in to post a comment.





Google
 
Web promised-land-services.com



generic acomplia purchase cialis overnight delivery cheap acomplia online buy generic clomid buy cialis low price viagra without prescription where to buy cialis lowest price levitra where to buy propecia cheap cialis from canada lasix no prescription viagra without rx cheap accutane tablets viagra online without prescription viagra no rx buying cialis online zithromax viagra in uk free cialis cialis us where to buy acomplia find cialis online buy viagra lowest price accutane prescription buy cheap accutane online cialis buy buy generic cialis online acomplia order propecia online lowest price synthroid synthroid without a prescription synthroid online buy propecia online cheap levitra online where to buy levitra cialis online review synthroid prices cialis generic cialis buy drug buy viagra on line viagra pharmacy cialis for order price of levitra zithromax online where to buy synthroid soma generic generic clomid propecia online stores viagra cheap drug cheap generic soma cialis cheap zithromax online cheap order accutane online purchase zithromax online purchase viagra online buy cheap clomid cheap generic propecia zithromax pharmacy online pharmacy cialis cheapest acomplia cost of cialis no prescription viagra free viagra purchase lasix online cialis from india viagra from india order discount cialis soma online stores find no rx cialis cialis no rx required find viagra without prescription approved cialis pharmacy lasix discount