List:MySQL and Perl« Previous MessageNext Message »
From:Jan Eden Date:April 10 2004 5:43pm
Subject:errno 13
View as plain text  
Hi,

I finally managed to install DBD::mysql on Mac OS X (10.3). But on the way, I experienced
a strange error:

After starting the mysqld process (safe_mysqld --user=mysql &), I tried to create a
sample database (as SQL-user "root"), but I got error 13.

So I changed the permissions on the /usr/local/mysql/data directory to allow group
writing, and everything worked fine from there on.

I guess the reason is that the mysqld process was not initiated by the system user
"mysql", but by me (user "jan"), so it did not have writing privileges to the data dir.

Am I right? Since this question is a little off-topic, I would be happy to receive a
simple "yes" instead of some flaming.

Thanks,

Jan
-- 
The day Microsoft makes something that doesn't suck is the day they start selling vacuum
cleaners.
Thread
errno 13Jan Eden10 Apr