unknown variable --defaults-file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Samunderline

    #1

    unknown variable --defaults-file

    Hello,
    Hi am trying to use the --defaults-file with a compiled version of
    mysql on a Feodra Core 2 based on Linux-2.6.5
    I type the following command :

    /usr/local/mysql4src/libexec/mysqld --basedir=/usr/local/mysql4src
    --datadir=/usr/local/mysql4src/data --user=mysql4
    --pid-file=/usr/local/mysql4src/data/mysql.pid --socket=mysqld.s ock
    --defaults-file=/usr/local/mysql4src/my.cnf

    041110 11:47:43 [ERROR] /usr/local/mysql4src/libexec/mysqld: unknown
    variable 'defaults-file=/usr/local/mysql4src/my.cnf'

    I am using mysql-4.1.7 and compiled it with the following options :
    ../configure \
    --prefix=/usr/local/mysql4src \
    --localstatedir=/usr/local/mysql4src/data\
    --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock

    Do I have to compile mysql with a special option or something like this
    ?
    thx for reply.
    --
    sam (the underline)

  • Samunderline

    #2
    Re: unknown variable --defaults-file

    What are these spaces in my command lines ?
    Please read as if they don't exist.

    Comment

    Working...