Lines 62-73
Link Here
|
62 |
|
62 |
|
63 |
mysql_prestart() |
63 |
mysql_prestart() |
64 |
{ |
64 |
{ |
|
|
65 |
if [ -f "/usr/local/etc/my.cnf" ]; then |
66 |
echo "" |
67 |
echo "Please keep in mind that the default location for my.cnf has been changed" |
68 |
echo "to \"/usr/local/etc/mysql/my.cnf\". If you do not want to move your existing" |
69 |
echo "my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf" |
70 |
echo "to the location of your my.cnf before (re)starting MySQL." |
71 |
echo "" |
72 |
fi |
65 |
if [ -f "${mysql_dbdir}/my.cnf" ]; then |
73 |
if [ -f "${mysql_dbdir}/my.cnf" ]; then |
66 |
echo "" |
74 |
echo "" |
67 |
echo "Please keep in mind that the default location for my.cnf will be changed" |
75 |
echo "Please keep in mind that the default location for my.cnf has been changed" |
68 |
echo "from \"%%MY_DBDIR%%/my.cnf\" to \"%%ETCDIR%%/my.cnf\" in the near" |
76 |
echo "to \"/usr/local/etc/mysql/my.cnf\". If you do not want to move your existing" |
69 |
echo "future. If you do not want to move your my.cnf to the new location then" |
77 |
echo "my.cnf to the new location, you must set "mysql_optfile" in /etc/rc.conf" |
70 |
echo "you must set \"mysql_optfile\" in /etc/rc.conf to \"/var/db/mysql/my.cnf\"." |
78 |
echo "to the location of your my.cnf before (re)starting MySQL." |
71 |
echo "" |
79 |
echo "" |
72 |
fi |
80 |
fi |
73 |
|
81 |
|