Can't connect to local MySQL server error

Brandon Allbery allbery.b at gmail.com
Sun Aug 5 07:15:32 PDT 2012


On Sun, Aug 5, 2012 at 4:49 AM, Rodolfo Aramayo <raramayo at gmail.com> wrote:

> >port installed *mysql*
> None of the specified ports are installed.
>

If you have any filenames in the current directory containing the string
"mysql" (probably starting with, from your examples) then those filenames
will be passed to the "port" command.  *The "port" command has no control
whatsoever over this; it is basic shell behavior that cannot be overridden.*

You should get into the habit of always quoting any metacharacters you
don't want the shell to expand.  These are:  $ * ? [ { ' " \ and leading ~.
 SIngle quotes prevent all expansion including the quoting behavior of \ ;
\ quotes any single character, except when in a single-quoted string.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120805/fe66d92e/attachment.html>


More information about the macports-users mailing list