List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:March 10 2003 6:41pm
Subject:Re: MySQL - Chapter 1 - Newbie: Errcode:13 upon executing #mysql
-p -u Me sampdb < create_president.sql
View as plain text  
At 11:36 -0700 3/10/03, Mark Berkwitt wrote:
>I can't figure the solution:
>
>#mysql -p -u Me sampdb < create_president.sql
>#Enter password:
>ERROR 1 at line 5; Can't create/write to file './sampdb/president.frm'
>(Errcode:13)
>
>Please help.

% perror 1 13
Error code   1:  Operation not permitted
Error code  13:  Permission denied

Looks like perhaps the sampdb directory under the server's data directory
isn't owned by the server.  Make sure the directory ownership matches
the account that you're using to run the server.
Thread
MySQL - Chapter 1 - Newbie: Errcode:13 upon executing #mysql -p -u Me sampdb < create_president.sqlMark Berkwitt10 Mar
  • Re: MySQL - Chapter 1 - Newbie: Errcode:13 upon executing #mysql-p -u Me sampdb < create_president.sqlPaul DuBois10 Mar