mac os x 中postgresql使用例子
发布时间:2022-06-16 14:29 所属栏目:48 来源:互联网
导读:mac os x 中postgresql使用教程在网上搜索不多了,自己找了很久才找到一个简单的例子,下文我们就一起来看看这个例子,希望例子能帮助到大家. start pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start stop //phpfensi.com pg_ct
mac os x 中postgresql使用教程在网上搜索不多了,自己找了很久才找到一个简单的例子,下文我们就一起来看看这个例子,希望例子能帮助到大家. start pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start stop //phpfensi.com pg_ctl -D /usr/local/var/postgres stop -s -m fast create db and user postgresql 的 bin 目录,默认并没有加入 path,要么在. bash_profile 里面加入,要么进入安装的目录. cd /usr/local/Cellar/postgresql/9.3.5/bin creatdb yemai 进入sql:psql yemai 运行建用户的sql:CREATE USER yemai WITH PASSWORD 'yemai'。 (编辑:ASP站长网) |
相关内容
网友评论
推荐文章
热点阅读