how can I get back /usr/local/bin/mysql on Snow Leopard?

Posted by Ole Media on Super User See other posts from Super User or by Ole Media
Published on 2010-04-06T03:29:22Z Indexed on 2010/04/06 5:53 UTC
Read the original article Hit count: 231

Filed under:
|
|

From terminal and trying to uninstall macports, I ran a command, rm -rf / macports...., that erased bunch of stuff. I feel ashamed about this, not realizing the space after /.

Since then, mysql is running but I cannot execute any of the mysql commands because it is not under /usr/local/bin/

I went ahead an reinstall mysql but without luck. What steps do you recommend on doing in order to be able to run mysql, mysqlduml, mysqladmin, from terminal? I can access databases from phpmyadmin, so mysql is running, don't ask me how.

© Super User or respective owner

how can I get back /usr/local/bin/mysql on Snow Leopard?

Posted by Ole Media on Stack Overflow See other posts from Stack Overflow or by Ole Media
Published on 2010-04-06T03:29:22Z Indexed on 2010/04/06 3:33 UTC
Read the original article Hit count: 231

Filed under:

From terminal and trying to uninstall macports, I ran a command, rm -rf / macports...., that erased bunch of stuff. I feel ashamed about this, not realizing the space after /.

Since then, mysql is running but I cannot execute any of the mysql commands because it is not under /usr/local/bin/

I went ahead an reinstall mysql but without luck. What steps do you recommend on doing in order to be able to run mysql, mysqlduml, mysqladmin, from terminal? I can access databases from phpmyadmin, so mysql is running, don't ask me how.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about osx