V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
flyingkid
V2EX  ›  macOS

mac下给mysql建立环境变量这么搞??

  •  
  •   flyingkid · 2011-10-28 22:39:02 +08:00 · 4013 次点击
    这是一个创建于 4583 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我的mysql安装地址:
    /usr/local/mysql-5.5.17-osx10.6-x86_64
    /usr/local/mysql-5.5.17-osx10.6-x86_64/bin
    3 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2011-10-29 08:29:04 +08:00
    vi ~/.profile
    flyingkid
        2
    flyingkid  
    OP
       2011-10-29 09:13:04 +08:00
    @Livid 原来我加上去了。。。非得重启终端才可以生效= =
    e6nian
        3
    e6nian  
       2011-10-29 09:20:29 +08:00
    @flyingkid
    source ~/.profile or source ~/.bashrc
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1053 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:13 · PVG 04:13 · LAX 13:13 · JFK 16:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.