From: chris on
Hi all,

I'm trying to install MySQL and it's perl modules following these
instructions:
http://bixsolutions.net/forum/thread-8.html

But I'm stuck at the 'mysqladmin' stage. Typing either 'mysql' or
'mysqladmin' in Terminal results in a 'command not found'. Do I need to
install the clients separately or what? I've had a google, but can't
find them.

I've a feeling I'm missing something obvious here. Can someone put me
out my misery, please?
Cheers,

Chris
From: Woody on
chris <ithinkiam(a)gmail.com> wrote:

> Hi all,
>
> I'm trying to install MySQL and it's perl modules following these
> instructions:
> http://bixsolutions.net/forum/thread-8.html
>
> But I'm stuck at the 'mysqladmin' stage. Typing either 'mysql' or
> 'mysqladmin' in Terminal results in a 'command not found'. Do I need to
> install the clients separately or what? I've had a google, but can't
> find them.
>
> I've a feeling I'm missing something obvious here. Can someone put me
> out my misery, please?

If it says command not found, then it is probably right. Did you type
../mysqladmin in the directory that it was installed in, or add the
directory it was installed to in your path?


--
Woody
From: chris on
On 14/04/2010 15:45, Woody wrote:
> chris<ithinkiam(a)gmail.com> wrote:
>
>> Hi all,
>>
>> I'm trying to install MySQL and it's perl modules following these
>> instructions:
>> http://bixsolutions.net/forum/thread-8.html
>>
>> But I'm stuck at the 'mysqladmin' stage. Typing either 'mysql' or
>> 'mysqladmin' in Terminal results in a 'command not found'. Do I need to
>> install the clients separately or what? I've had a google, but can't
>> find them.
>>
>> I've a feeling I'm missing something obvious here. Can someone put me
>> out my misery, please?
>
> If it says command not found, then it is probably right. Did you type
> ./mysqladmin in the directory that it was installed in, or add the
> directory it was installed to in your path?
>

That's the problem. I don't know where things were installed. It came as
a package and I just let it do it's stuff. Allegedly the server's
running, but I can't access it via the Terminal... :(


From: Woody on
chris <ithinkiam(a)gmail.com> wrote:

> On 14/04/2010 15:45, Woody wrote:
> > chris<ithinkiam(a)gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> I'm trying to install MySQL and it's perl modules following these
> >> instructions:
> >> http://bixsolutions.net/forum/thread-8.html
> >>
> >> But I'm stuck at the 'mysqladmin' stage. Typing either 'mysql' or
> >> 'mysqladmin' in Terminal results in a 'command not found'. Do I need to
> >> install the clients separately or what? I've had a google, but can't
> >> find them.
> >>
> >> I've a feeling I'm missing something obvious here. Can someone put me
> >> out my misery, please?
> >
> > If it says command not found, then it is probably right. Did you type
> > ./mysqladmin in the directory that it was installed in, or add the
> > directory it was installed to in your path?
> >
>
> That's the problem. I don't know where things were installed. It came as
> a package and I just let it do it's stuff. Allegedly the server's
> running, but I can't access it via the Terminal... :(

in which case:

ps -ax | grep mysql

will tell you where it is (and if it is running). Then you can add the
path to your bash profile (or whatever you use).

Better still, just use cocoa mysql and then you don't have to go on the
terminal.

Chances are it is where the official mysql installs put it, either in
/usr/local/mysql, or /opt/mysql.

what happens if you type /usr/local/mysql/bin/mysql ?



--
Woody
From: chris on
On 14/04/2010 16:01, Woody wrote:
> chris<ithinkiam(a)gmail.com> wrote:
>
>> On 14/04/2010 15:45, Woody wrote:
>>> If it says command not found, then it is probably right. Did you type
>>> ./mysqladmin in the directory that it was installed in, or add the
>>> directory it was installed to in your path?
>>>
>>
>> That's the problem. I don't know where things were installed. It came as
>> a package and I just let it do it's stuff. Allegedly the server's
>> running, but I can't access it via the Terminal... :(
>
> in which case:
>
> ps -ax | grep mysql
>
> will tell you where it is (and if it is running). Then you can add the
> path to your bash profile (or whatever you use).

Yup. That did it. Thanks very much.

> Better still, just use cocoa mysql and then you don't have to go on the
> terminal.

Where can I get that?
 |  Next  |  Last
Pages: 1 2 3
Prev: Video onto Mobile Me
Next: Photo books