Don`t forget to set proper permissions!shell> chmod 400 ~/.my.cnfNow mysql will use this password as you default password.P.S.S.You can also pass any mysql parmeters in the sha-bang line.For example:#!/usr/bin/sql -tor#!/usr/bin/sql -Xor even#!/usr/bin/sql -u someuser -ppasswordThat`s it!---There are 10 kinds of people: those who understand binary and those who don`t.Posted by Richard Moor on Apri