Miss typed sudo command - causing error

bentlenz

Registered
Hi people...

I am a wanna be techi on the beginning of the learning slope! I have just enabled PHP 5 on my Mac OS X 10.5.6. I then installed mysql-5.1.31-osx10.5-x86.dmg. (want to install cms made simple)

I was following these setup instructions:
shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(ENTER YOUR PASSWORD, IF NECESSARY)
(PRESS CONTROL-Z)
shell> bg
(PRESS CONTROL-D OR ENTER "EXIT" TO EXIT THE SHELL)

Like a twat I went and typed a line wrong:
shell> sudo ./bin/mysql_safe

Obviously it told me that it couldn't find the directory, I didn't know what to do next so I typed 'exit'

Opened the terminal again and tried retyping the command, but got the following:

Last login: Fri Feb 20 18:03:55 on console
Macintosh:~ sebcol$ cd /usr/local/mysql
Macintosh:mysql sebcol$ sudo ./bin/mysqld_safe
090301 20:56:13 mysqld_safe Logging to '/usr/local/mysql-5.1.31-osx10.5-x86/data/Macintosh.local.err'.
090301 20:56:13 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql-5.1.31-osx10.5-x86/data
exit

quit

It didn't respond to exit or quit!

I guess I have now screwed up something... can someone help me rectify this so I can continue the setup correctly.

Thanks :(
 
Following the directions you posted above, you where suppose to press control Z to send the process to the background.
 
Back
Top