From: Les H. <se...@at...> - 2005-03-25 23:50:51
|
Bruce Smith wrote: >>I put the original /etc/init.d/mysqld script back with only a small >>modification near the top. I expanded the variable PARAMETER to include >>the value "--datadir=/var/data/mysql" which is located on my hard drive. >>That value gets passed to mysqld_safe so no change is required there. > > > Is that something we should fix in the main distro? > (I'm a postgresql guy and don't know much about mysql) > I don't think so. In my opinion, for MySQL, or any database to make sense, it needs hard drive support and the --datadir pointer will need to point to where the user places that hard drive directory. Also, there are several other steps that are required to get the MySQL internal database established prior to being ready to support a user database. What might be good is to add a MySQL section to the DL doc. That could include a URL for the web site where I got their reference manual. On second thought, you could change the /etc/init.d/mysqld script to add a comment and a place-holder pointer that the user should change during initial configuration. Maybe a comment in the /etc/sysconfig/config file where the MySQL boot start switch is located would be of value also. Don't know. If you want, I could work on a draft page to add to the DL doc relating to MySQL. I don't see a point in attempting to replace the 1600+ page reference manual, but a quick start page with some commands and pointers might be worth while. Let me know what you think. ---- Les Hazelton |