Might sound like a silly question, but have you checked the write
permissions to the data dir?  Am not sure if it is the mysql daemon that
needs write access or if it is the user logged on....




"Colin O'Connor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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?
>
> Thanks,
> Colin
>
>
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
>
>





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

Reply via email to