NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: choosing a lightweight database



On Jan 17,  9:15am, Robert Elz wrote:
}
}     Date:        Wed, 16 Jan 2019 08:21:02 -0800
}     From:        John Nemeth <jnemeth%cue.bc.ca@localhost>
}     Message-ID:  <201901161621.x0GGL2pK007027%server.cornerstoneservice.ca@localhost>
} 
}   | MySQL is quite simple to setup,
} 
} How does one tell it exactly where the database should be stored?

     If you're using the package, then it is:

mysqld=YES              mysqld_datadir="/usr/local/mysql"

If not, then it is mysqld ... --datadir=[path] ...

} My database is currently just flles, with vi and awk to support it...,
} but the data files for this particular datbase (not others) need to be
} on a cgd not just wherever mysql believes databases should be stored.

     By default, the package puts it in /var/mysql, which I think
is a rather silly default.

}-- End of excerpt from Robert Elz


Home | Main Index | Thread Index | Old Index