#1: max allowed packets on Mac
Posted on 2010-12-17 18:16:17 by Greg
Hi,
I found this page on the wiki regarding max allowed packets.
http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
However, on my Mac OSX when I try to run the following from terminal window
I get "Permission Denied"
shell> mysqld --max_allowed_packet=16M
And if I try to run as sudo but I again get "Permission Denied" even though
I am logged in as Admin on my machine.
So I tried to chmod 777 on mysqld but again received an error:
"chmod: Unable to change file mode on mysqld: Operation not permitted"
Any help on how I can rectify this would be appreciated.
Thanks,
Greg
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org
Report this message |
#2: Re: max allowed packets on Mac
Posted on 2010-12-17 18:52:29 by Michael Dykman
I'm not nuts about deploying MySQL on macs, but I think you need to
assume root. As your mac admin user, try
$ sudo su -
and give your admin password when asked. You should now be root and
can expect permissions to behave as you would expect.
- michael dykman
On Fri, Dec 17, 2010 at 12:16 PM, greg@noiseunit.com <greg@noiseunit.com> w=
rote:
> Hi,
>
> I found this page on the wiki regarding max allowed packets.
> http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
>
>
> However, on my Mac OSX when I try to run the following from terminal wind=
ow
> I get "Permission Denied"
>
> shell> mysqld --max_allowed_packet=3D16M
>
> And if I try to run as sudo but I again get "Permission Denied" even thou=
gh
> I am logged in as Admin on my machine.
>
> So I tried to chmod 777 on mysqld but again received an error:
>
> "chmod: Unable to change file mode on mysqld: Operation not permitted"
>
> Any help on how I can rectify this would be appreciated.
>
> Thanks,
> Greg
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: =A0 =A0http://lists.mysql.com/mysql?unsub=3Dmdykman@gmail=
..com
>
>
--=20
=A0- michael dykman
=A0- mdykman@gmail.com
=A0May the Source be with you.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg
Report this message |
#3: Re: max allowed packets on Mac
Posted on 2010-12-21 10:36:22 by david.yang
--20cf3054a7cf9db8fe0497e85e68
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
I agree with michael dykman.
æ¨æ¶
æåå®=A21:http://yueliangdao0608.cublog.c n
My æåå®=A22:http://yueliangdao0608.blog.51c to.com
2010/12/18 Michael Dykman <mdykman@gmail.com>
> I'm not nuts about deploying MySQL on macs, but I think you need to
> assume root. As your mac admin user, try
> $ sudo su -
> and give your admin password when asked. You should now be root and
> can expect permissions to behave as you would expect.
>
> - michael dykman
>
> On Fri, Dec 17, 2010 at 12:16 PM, greg@noiseunit.com <greg@noiseunit.com>
> wrote:
> > Hi,
> >
> > I found this page on the wiki regarding max allowed packets.
> > http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
> >
> >
> > However, on my Mac OSX when I try to run the following from terminal
> window
> > I get "Permission Denied"
> >
> > shell> mysqld --max_allowed_packet=3D16M
> >
> > And if I try to run as sudo but I again get "Permission Denied" even
> though
> > I am logged in as Admin on my machine.
> >
> > So I tried to chmod 777 on mysqld but again received an error:
> >
> > "chmod: Unable to change file mode on mysqld: Operation not permitted"
> >
> > Any help on how I can rectify this would be appreciated.
> >
> > Thanks,
> > Greg
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmdykman@gmail.c=
om
> >
> >
>
>
>
> --
> - michael dykman
> - mdykman@gmail.com
>
> May the Source be with you.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/mysql?unsub=3Dyueliangdao0608@gmail.c om
>
>
--20cf3054a7cf9db8fe0497e85e68--
Report this message |