problem of terminal

Installation and configuration iussues

Moderators: egami, macek, gesf

Post Reply
php-forum Fan User
php-forum Fan User
Posts: 83
Joined: Thu Jun 03, 2004 11:27 am

Thu Mar 31, 2005 4:41 pm

I have just installed the mysql on Mac OS X, opened the terminal trying to type this command:
shell%sudo /usr/local/mysql/bin/mysql_safe

but I got Command not found.

Last login: Thu Mar 31 14:19:03 on ttyp1
Welcome to Darwin!
[SunKim:~] Charlton% shell%sudo /usr/local/mysql/bin/mysql_safe
tcsh: shell%sudo: Command not found.
[SunKim:~] Charlton%

Can you help me for this? Thanks.
User avatar
php-forum GURU
php-forum GURU
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Sun Apr 03, 2005 8:45 pm

I've never seen MacOs..
but ... from the command u've shown us is that of *nix
User avatar
php-forum Fan User
php-forum Fan User
Posts: 140
Joined: Sun May 11, 2008 1:40 am
Location: London, UK

Fri Aug 01, 2008 12:40 am

Mac OS X is bassed on nix (BSD is think actually).
So the commands are really simular to nix.

But from the error message it is saying that the sudo command doesn't exist because it's not the same as nix.
Try it again without the sudo bit.

When posting code to be reviewed please enclose it in the [ code ] [ /code ] tags as it makes it a lot easier for people to read as it correctly formats itself on screen.

    Click Here to Visit[/url]
    Post Reply