6 messages in com.mysql.lists.mysqlRe: Solved: Mysqlaccess: Acess denied
FromSent OnAttachments
Stephen R. Figgins31 Aug 1999 13:44 
sas...@freeservers.com31 Aug 1999 14:03 
Stephen R. Figgins31 Aug 1999 15:56 
Thimble Smith31 Aug 1999 16:57 
Stephen R. Figgins31 Aug 1999 19:53 
Martin Ramsch01 Sep 1999 08:32 
Subject:Re: Solved: Mysqlaccess: Acess denied
From:Martin Ramsch (m.ra@computer.org)
Date:09/01/1999 08:32:57 AM
List:com.mysql.lists.mysql

On Tue, 1999-08-31 16:57:52 -0700, Thimble Smith wrote:

Usually the best way to handle it is to use single quotes (') around the word with special characters. If that word itself contains single quotes, you can escape them with a backslash:

$ mysql -p 'p$s!w\'(d'

On some shells (having Bash in mind) a single quote delimited string simply can't contain single quotes and no character, not even the backslash, has special meaning. There you'd have to write $ mysql -p'p$s!w'\''(d' (i.e. three strings seamlessly joined together: 'p$s!w' and \' and '(d')

Regards, Martin