> I had tips from some people here to install the complete MySQL from Server
> Logistics
> on my Mac OS X 10.2 and so I did (I also installed Apache 2 and PHP from
> them).
> Now I'm on Step one, but got stuck here. (I always get stuck while trying
> this MySQL).
> 
> In the pdf-file that came along with the installation it says:
> 
> shell> echo $SHELL
> This will return the path to the shell you are using. In most cases it will
> return
> either "/bin/tcsh" (tcsh shell) or "/bin/bash" (bash shell). If you are
> using the tcsh
> shell, you will have to modify the file ".tcshrc" located within your home
> directory. If this file does not exist, then you will have to create a new
> one. After
> opening the file in your text editor, add the following line at the bottom
> of the
> file:
> setenv PATH "$PATH":/Library/MySQL/bin
> Save the file.

=)  The file is actually in your home directory.  What are you using for
your text editor?  Pico is probably the easiest, so to do the step above, go
to the terminal and type:

pico ~/.tcshrc

The .tcshrc file is hidden because it starts with a ".", so you don't see it
in the finder, nor with a regular ls of a directory.  You have to do an "ls
-a" to see it.

But if you want to do this step a little easier, type this:

echo 'setenv PATH "$PATH":/Library/MySQL/bin' >> ~/.tcshrc

fyi, the shell replaces the "~" with /Users/yourusername before it does
anything else.


> But when I try to find this .tcshrc file (whisch is the one showing up when
> I write
> that line in my Terminal. I can't find it (not by using Sherlock or when
> looking).
> I guess it should be in MyComputer / Library / MySQL / bin. But it isn't.
> So I wrote the line they explain in the end of the text above and try to
> save it as
> .tcshrc, but my computer tells me I can't use a name with a dot in the
> beginning.
> So I tried to take that away and then drop the file from the desktop to the
> bin folder,
> but then it tells m I'm not allowed to change that folder?!
> 
> What am I supposed to do??? I'm really a newbie here... and it seems I'll
> always be...
> I've tried this sooo many times the last week now. I'm about to give up
> soon.

You're in unix now, which is really cool, but has a learning curve to it.  I
recommend reading the tutorials on www.osxfaq.com, they'll explain a lot.

- B



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to