[DUG-TO] mysql config on osx

Andrew Berry andrewberry at sentex.net
Wed Jul 1 12:27:06 EDT 2009


On 1-Jul-09, at 12:26 AM, Andre Molnar wrote:

> Carole St. Laurent wrote:
>> So far I tried:
>> $ mysql --max_allowed_packet=32M
>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
>> password: NO)
>
>
> try that same thing with -u and -p switches
> $ mysql --max_allowed_packet=32M -u root -p

I believe that is a mysql server, not a mysql client option. You can  
specify a path to your own my.cnf avoiding the /etc permissions issue.  
So either

$ mysqld_safe --defaults-file=/path/to/my.cnf

Or:

$ mysqld_safe --max_allowed_packet=32M

--Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2672 bytes
Desc: not available
URL: <http://lists.openject.com/pipermail/dug-to/attachments/20090701/dbeaa35b/attachment.bin>


More information about the DUG-TO mailing list