Hi!
On Dec 11, N L wrote:
Hello
I am having difficulties:
I am working on Mac OSX 10.2.8 with mysql 4.
I needed to change the data directory of MySQL from
its original
place (where the application have to be and not the
databases because
there is not enought room) to an other volume of my
computer.
I made a symlink from data to data in the other volume
and not anymore
as it was to var in the same volume before. I copied
all files and
directories of var in this new directory -data-. I
changed with mysql
mysql all this file and directories (group and owner).
And I made :
create database X;
ERROR 1006: Can't create database 'X'. (errno: 13)
I hope what I explain is clear!
There is utility program that comes with MySQL - perror.
Trying "perror 13" you'll get:
Error code 13: Permission denied
check permissions of the datadir.
Regards,
Sergei