请教关于从代码进行TinyERP安装时出现的问题
-
大家好,我已经把,从代码安装TinyERP的软件装好了,可是在PostgreSQL代码命令窗口中输入createdb <your_tinyerp_databasename> --encoding=UNICODE --username=<your_database_admin_username>
时,出现提示The syntax of the command is incorrect. 大家知道省么原因吗? -
To start postgresql use pg_ctl in same directory.
To create a database for your OpenERP server, open a command prompt (cmd window) and use this manual command (the current working directory doesn't matter if you have in PATH the postgresql bin directory):
createdb <your_tinyerp_databasename> --encoding=UNICODE --username=<your_database_admin_username>
orcreatedb <your_tinyerp_databasename> -E UNICODE -U <your_database_admin_username>
Sample command prompt:C:terptestserv>createdb terp --encoding=UNICODE --username postgresadmin Password: <enter password again>CREATE DATABASE C:terptestserv>Your output may differ, and if you're prompted a second time for the password just input it again. You can try the same command again, and after entering the password it would display this error:
createdb: database creation failed: ERROR: database "terp" already existsNow you are ready to setup the OpenERP server.
-
我已经从源代码安装成功了,
谢谢大家的帮忙:)