List:General Discussion« Previous MessageNext Message »
From:Jonathan Villa Date:September 5 2003 5:57pm
Subject:RE: How to correct error code 1006
View as plain text  
Thanks, that helped me find the solution. 

-----Original Message-----
From: Diana Soares [mailto:dsoares@stripped] 
Sent: Friday, September 05, 2003 12:27 PM
To: jvilla@stripped
Cc: mysql@stripped
Subject: Re: How to correct error code 1006

# perror 13
Error code  13:  Permission denied

Check the ownership (and permissions) of your <datadir>.

Maybe your <datadir> is owned by user "mysql" and not "mysqladmin" and
then "mysqladmin" can't write to <datadir>.

You may find what your datadir is with:
# mysqladmin var | grep datadir

Hope this helps,


On Fri, 2003-09-05 at 17:42, Jonathan Villa wrote:
> I installed MySQL 4.0.14-standard from binary onto a Red Hat 8.0
system.
> I always follow the steps described in INSTALL-BINARY as well as
review
> what shows up when I type ./configure.
>  
> The only thing I did this time around was that I changed the user's
name
> from mysql to mysqladmin.  I get the follow error when trying to
create
> a new database:
>  
> #1006 - Can't create database 'demo'. (errno: 13)
>  
> Does anyone know the fix to this?
-- 
Diana Soares


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=1

Thread
How to correct error code 1006Jonathan Villa5 Sep
  • Re: How to correct error code 1006Diana Soares5 Sep
    • RE: How to correct error code 1006Jonathan Villa5 Sep