我想使用mamp和postgresql,你知道這可能嗎?如何使用postgresql與mamp
我有一個PostgreSQL數據庫,我已經使用了甲基苯丙胺和MySQL,但我不能找到文檔使用PostgreSQL與甲基苯丙胺
對不起我的英文不好;)
我想使用mamp和postgresql,你知道這可能嗎?如何使用postgresql與mamp
我有一個PostgreSQL數據庫,我已經使用了甲基苯丙胺和MySQL,但我不能找到文檔使用PostgreSQL與甲基苯丙胺
對不起我的英文不好;)
「甲基苯丙胺」似乎是一個用於MySQL + Apache + PHP的用於Mac OS X的罐裝安裝程序。
PostgreSQL有相關的東西;見the download page。但除此之外,所有組件都可以輕鬆安裝。許多人使用諸如自制軟件之類的東西。
看看這個答案。
https://www.drupal.org/node/1438206
Postgres的是Mac OS X與甲基苯丙胺
最後更新2月13日,2012年創建於2月13日,由2012.Edited diricia。登錄編輯此頁。 目前我正在運行MAMP Pro,但安裝程序也應該可以與MAMP免費版一起使用。 要求; 下載,然後從MAMP
安裝MAMP1. Download and install postgres 8.4 or higher from Enterprise DB
2. Add the bin directory of postgres, /Library/PostgreSQL/8.4/bin to the PATH in your .bashrc file in your home directory. Remember to run ./.bashrc to update the path.
3. Sudo to your root user and execute the following commands. '>' is the prompt on your terminal and should be excluded. Text in() is an explanation and should not excluded.
a. > su postgres (log in as the postgres user)
b. > createuser --no-createdb --no-password (choose as a super user)
c. > createuser --no-createdb ----pwprompt devel (enter a password 'drupal', and choose as a super user, this is if your site is using the standard devel user with password drupal)
> exit
4. Edit table at the bottom of the /Library/PostgreSQL/8.4/data/pg_hba.conf file to so that the options for local look like this. This states that the devel (or your user) must have a md5 password and all other users can log in with no password. (This is only recommended for your local host and is not secure on a server)
# "local" is for Unix domain socket connections only
local all devel md5
local all all trust
5. In your applications folder stop and start the postgres server using the apps under the Postgres folder
6. Log out of your root user
7. Create your postgres database as specified in INSTALL.pgsql.txt:
a. > createdb --encoding=UTF8 --owner=username databasename (The owner is devel or the user you created)
我安裝Bitnami的甲基苯丙胺棧,然後也Bitnami PostgreSQL的模塊:
Bitnami MAMP堆棧:https://bitnami.com/stack/mamp/installer
Bitnami MAMP PostgreSQL的模塊:https://bitnami.com/stack/mamp/modules
@a_horse_with_no_name http://stackoverflow.com/tags/mamp/info lol – Houari