2010-08-01 2 views
0

스노우 레오파드에 MySQL을 설치하려고하는데 문제가 있습니다. 스노우 레오파드 문제에 MYSQL 설치

은 내가 hivelogic 블로그에서 다음 단계를 따라

http://hivelogic.com/articles/compiling-mysql-on-snow-leopard

다 잘만하지만 난 마지막 단계에 도착하면 나는이

-bash: mysql: command not found 
을 얻을

mysql -uroot 

을하려고

무엇이 잘못 되었나요?

+0

이 수퍼 유저 또는 저기 serverfault에 있어야하지 않나요? – You

+0

쉘에서 다음 명령의 출력은 무엇입니까? ls/usr/local/mysql/bin? – Behrang

+0

내가 innochecksum에게 \t \t \t mysql_fix_privilege_tables를 얻을 \t mysqld_multi msql2mysql \t \t \t mysql_install_db가 \t \t mysqld_safe에 my_print_defaults \t \t mysql_secure_installation \t mysqldump를 myisam_ftdump \t \t \t mysql_setpermission \t \t mysqldumpslow myisamchk를 \t \t \t mysql_tzi nfo_to_sql \t \t mysqlhotcopy myisamlog \t \t \t \t \t \t으로 mysql_fix_privilege_tables mysqlimport가 myisampack를 \t \t \t \t \t는 mysql_waitpid \t mysqlshow 데이터 MySQL의 \t \t \t \t \t \t \t mysql_zap mysqlslap mysql_client_test \t \t \t \t mysqlaccessmysqltest \t \t \t이 mysql_find_rows \t \t \t mysqlbug \t \t \t resolve_stack_dump mysql_fix_extensions \t \t mysqlcheck의 \t \t \t있는 resolveip – Trace

답변

1

1 단계 : PATH 설정

"소스 ~/.profile"비트 포함) 했습니까? 쉘이 mysql 명령을 찾을 수 없습니다. 따라서 PATH 환경 변수에 나열되지 않은 위치에 설치하거나 설치하지 않았습니다.

이 같은 MySQL의 명령의 모든 차례 나오는 찾기 위해 명령 줄에서 스포트라이트 쿼리를 실행할 수 있습니다

$ mdfind mysql | grep '/mysql$' 
+0

고마워요. "source ~/.profile"작업 – Trace

관련 문제