Enabling MySQL (Unix on OS X): "Configuration File
The MySQL server is in /usr/share/mysql. Inside are four configuration files: my-huge.cnf, my-large.cnf, my-medium.cnf, and my-small.cnf. Look at them and they will tell you which one is appropriate for your server, based mostly on how much RAM you have. For example, if you have 1 GB of RAM, use my-huge.cnf.
The configuration files all say that they need to be in /etc/mf.cnf. I don’t know if this is true or a typo; all other references I’ve seen, and the way I have always done it before, is to put the configuration file in /etc/my.cnf, and that works here. From the command line, type:
sudo cp /usr/share/mysql/my-huge.cnf /etc/my.cnf"
Friday, October 03, 2003
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment