PATH="$PATH":/usr/local/mysql/bin?
連接數(shù)據(jù)庫? mysql -uroot -p ? ? // cd 到桌面 ?輸入上述命令 然后輸入密碼 就進入了
開啟Tomcat服務(wù)器? sudo sh ./startup.sh? ? //Mac? 下 找到 tomcat 的文件路徑 ApacheTomcat --> bin ? ?cd 到這個目錄
關(guān)閉Tomcat服務(wù)器 ?sudo sh ./shutdown.sh?
啟動tomcat
Cannot find bin/catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
原因: 沒有權(quán)限
解決 : chmod 777 *.sh