Re: Can't start mysqld

2009-04-22 Thread Colin Adams
That's just what I can't do - these instructions don't work because of the access problem. (They say there is no existing password, but the system denies me access anyway). 2009/4/22 Joerg Sonnenberger : > On Wed, Apr 22, 2009 at 08:29:46PM +0100, Colin Adams wrote: >> I can access mysql if i sta

Re: Can't start mysqld

2009-04-22 Thread Joerg Sonnenberger
On Wed, Apr 22, 2009 at 08:29:46PM +0100, Colin Adams wrote: > I can access mysql if i start it with the --skip-grant-tables option, > and then i can set the root user's password, but I still can't login > when i restart it. Did you even bother to follow the instructions from installation method?

Re: Can't start mysqld

2009-04-22 Thread Colin Adams
I can access mysql if i start it with the --skip-grant-tables option, and then i can set the root user's password, but I still can't login when i restart it. the mysql packages are clearly screwed on dragonfly. 2009/4/22 Colin Adams : > Well I've just changed /tmp permissions to match those of /v

Re: Can't start mysqld

2009-04-22 Thread Colin Adams
Well I've just changed /tmp permissions to match those of /var/tmp (which also match those for /tmp on my Linux systems). And now mysqld runs, but I can't set any passwrods - I get access denied (even for root) from mysqladmin. It seems that the software gets installed with a secret password! 200

Re: Can't start mysqld

2009-04-22 Thread Jeremy C. Reed
> I guess the answer is the permissions - /tmp has drwxr-xr-x 4 root wheel > > Presumably mysql is using it's own id, even though I'm starting it from root. > > But I don't understand why /tmp isn't writeable by all. I guess this > is a difference between linux and *BSD usage? That sure looks wr

Can't start mysqld

2009-04-22 Thread Colin Adams
I copied the examples/rc.d/mysqld into /etc/rc.d When i attempt t run this with start, i get errors: /usr/pkg/libexec/mysqld: Can't create/write to file '/tmp/ibdQHTh3' (Errorcode: 13) which, if I am not mistaken, is permission denied. How can root (or indeed any other user) get a permission de