Can't create database


Hi-
I used the dapperload.sh command to creat a new database,but it didn't work and showed "Command failed: error was Can't create database 'xisha' (errno: 13)"
Why?

Re: can't create database


This might be a database problem. Possibilities include:

1) You don't have the permissions set correctly on the MySQL server
2) You used an incorrect user name and/or password

Try using the mysql command line to create the database to test this:

mysql -u -h -p

create database xisha;

If it is a database permission problem, you should get an error message from MySQL.

it is ok now


I think there's no problem of MySQL, I can use

mysql -u -p

create database xisha;

and MySQl is ok, and i drop the xisha database;

then i use the dapperload.sh again, and pleasantly surprised, it works.

It is puzzling. I can not find out why, but thank you for help.