"Colin O'Connor" <[EMAIL PROTECTED]> wrote:
> I don't have much experience with MySQL server, but I am working on a
> project which consists of a Java application accessing MySQL databases. The
> program is packaged with the mysqld binary for Windows, and the Java program
> simply executes the binary with a few options (specifically --basedir,
> --tmpdir, --datadir, and --standalone).
> 
> Now I'm trying to get this running on Mac OS X. I downloaded the appropriate
> MySQL version, and changed the syntax to run mysqld with the same options,
> but I have two problems so far:
> 1. It says it does not recognize the "--standalone" option

This option is used only on Windows.

> 2. When I take that option out, it says "Fatal error: Can't open privilege
> tables: Table 'mysql.host' doesn't exist".

Look into MySQL datadir and check if privilege tables are exist. If they aren't exist 
run mysql_install_db script. If privilege table files are in the 'mysql' dir, check 
permissions on the data dir and files.

> 
> This, to me, suggests I need to install MySQL properly. But I don't want it
> to have to be installed!



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.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