Interestingly enough, adding the PATH to the .bash_profile has made the
preference pane 100% stable now (the Admin GUI is another story). So
I'm wondering if the pref pane simply calls a shell script or command.
If that is the case, shouldn't the PATH be added or created during
installation of MySQL for OSX?
Jeff
On Mar 17, 2005, at 10:46 AM, Jeff Justice wrote:
Okay...now we're getting somewhere. Thank you. Adding the file
wasn't the problem, I just wasn't sure WHERE it should be added. Yes,
I am using 10.3. Just trying to pin down why the GUI tools can't seem
to start and stop this thing reliably. As I stated before, I'm not a
Unix geek :) so for me, it is time well spent to try and get the GUI
working.
Jeff
On Mar 17, 2005, at 10:31 AM, Michael Stassen wrote:
You can't call TextEdit from the command line like that, you have to
launch it in the GUI. That doesn't really matter, though, as you do
not want to use TextEdit, because it saves files as RTF!
Launch a Terminal window. You'll be in your home directory. Enter
ls .bash*
to see if you already have a .bash_profile or .bashrc. You don't get
one by default, so you probably won't see one. (You should see a
.bash_history.) If you don't have one, you can create one with the
new PATH setting by entering
echo 'export PATH=$PATH:/usr/local/mysql/bin' >.bash_profile
If you do have one, but it doesn't have a PATH line (check with
`cat .bash_profile`), you can add one with
echo 'export PATH=$PATH:/usr/local/mysql/bin' >>.bash_profile
(>> means append).
You can edit your .bash_profile with emacs, which comes standard with
OS X.
emacs .bash_profile
(Ctl-x Ctl-s to save, Ctl-x Ctl-c to quit).
Once you've modified your .bash_profile, it will take effect in every
Terminal window launched afterwards. Simply choose New Shell from
the File Menu (CMD-n). No need to quit Terminal or log out/in or
reboot!
I'm doubtful this will affect the preference pane, but it won't hurt
to try, and it will make it easier to use all the command line tools
which come with mysql.
Michael
P.S. I'm assuming you have OS X 10.3, where bash is the standard
shell. You can enter
echo $SHELL
in Terminal to verify which shell you have.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]