Hello

I want to distribute my java database application
together with mysql, and I want to make it as easy as
possible.

Right now a new user has to:
- download and install mysql
- run the mysql server with mysqld --standalone or a
similar command
- download my program and run it.

To make this easier for the user, I tried to zip mysql
together with my program (the whole c:\mysql directory
except the data directory), and to issue the mysqld
--standalone command each time the user starts my
program, but it doesn't work (it would be too easy,
wouldn't it?). When I try that, see below for the
errors that appear in mysql.err:

I want my program in a single zip file, and that you
only have to unzip it, type "setup" and then "run" to
make it work. Is there a better way to achieve this?
It only has to work under Windows (I am assuming here
that linux users are smart enough to set up mysql by
themselves)

thanks in advance
Martijn van Iersel

Here are the errors I get:
Cannot initialize InnoDB as 'innodb_data_file_path' is
not set.
If you do not want to use transactional InnoDB tables,
add a line
skip-innodb
to the [mysqld] section of init parameters in your
my.cnf
or my.ini. If you want to use InnoDB tables, add for
example,
innodb_data_file_path = ibdata1:30M
But to get good performance you should adjust for your
hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
020925 10:19:34  bin\mysqld: Table 'mysql.host'
doesn't exist
Cannot initialize InnoDB as 'innodb_data_file_path' is
not set.
If you do not want to use transactional InnoDB tables,
add a line
skip-innodb
to the [mysqld] section of init parameters in your
my.cnf
or my.ini. If you want to use InnoDB tables, add for
example,
innodb_data_file_path = ibdata1:30M
But to get good performance you should adjust for your
hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
020925 10:20:05  bin\mysqld: Table 'mysql.host'
doesn't exist




__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to