mac下更改配置文件.bash_profile && Mac上啓動mysql初始化帳號密碼

一、打開terminal(終端)mysql 二、cd ~ ( 進入當前用戶的home目錄)sql 三、open .bash_profile (打開.bash_profile文件,若是文件不存在就  建立文件:touch .bash_profile  編輯文件:open -e bash_profile)數據庫 四、直接更改彈出的.bash_profile文件內容bash 五、command + s
相關文章
相關標籤/搜索