Colin O'Connor wrote:
Hi,

I'm bundling MySQL with a Java app, and it is currently working on Windows
and Mac OS X. Right now I'm porting it to Solaris.

The problem I'm having is when I try to create a database ("CREATE DATABASE
mydb") I get the error: "ERROR 1006: Can't create database 'mydb'. (errno:
2)"

Using perror, "errno: 2" means "No such file or directory".

Does anyone know why it might be giving me that error?

Possibly some symlink problem or a file system error of some kind. Try


cd datadir
mkdir mydb

If the above works, create database should also.


-- Sasha Pachev Create online surveys at http://www.surveyz.com/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to