We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
not enought arguments
-
- Posts: 3
- Joined: Tue Mar 29, 2016 6:38 am
not enought arguments
My hosting provider installed PostgreSQL and VestaCP separately. I'm trying to connect PostgreSQL to VestaCP. I followed documentation guided here and got error in this step
v-add-database-host pgsql localhost postgres pgp4sw0rd
I got this
Error: not enought arguments
Usage: v-add-database-host TYPE HOST DBUSER DBPASS [MAX_DB] [CHARSETS] [TPL]
I'm not sure what to enter [MAX_DB] [CHARSETS] [TPL] for these attributes (I can test randomly but am kinda scared to)
Is there anyway to find default ones... I searched with various keywords but can find exact terms but can't find an example like
v-add-database-host pgsql localhost postgres pgp4sw0rd 100 [ns1] TPL
Kindly help me in this regard
v-add-database-host pgsql localhost postgres pgp4sw0rd
I got this
Error: not enought arguments
Usage: v-add-database-host TYPE HOST DBUSER DBPASS [MAX_DB] [CHARSETS] [TPL]
I'm not sure what to enter [MAX_DB] [CHARSETS] [TPL] for these attributes (I can test randomly but am kinda scared to)
Is there anyway to find default ones... I searched with various keywords but can find exact terms but can't find an example like
v-add-database-host pgsql localhost postgres pgp4sw0rd 100 [ns1] TPL
Kindly help me in this regard
-
- Posts: 139
- Joined: Thu Jan 07, 2016 12:01 am
Re: not enought arguments
Ok, so break it down.newyorknix wrote:My hosting provider installed PostgreSQL and VestaCP separately. I'm trying to connect PostgreSQL to VestaCP. I followed documentation guided here and got error in this step
v-add-database-host pgsql localhost postgres pgp4sw0rd
I got this
Error: not enought arguments
Usage: v-add-database-host TYPE HOST DBUSER DBPASS [MAX_DB] [CHARSETS] [TPL]
I'm not sure what to enter [MAX_DB] [CHARSETS] [TPL] for these attributes (I can test randomly but am kinda scared to)
Is there anyway to find default ones... I searched with various keywords but can find exact terms but can't find an example like
v-add-database-host pgsql localhost postgres pgp4sw0rd 100 [ns1] TPL
Kindly help me in this regard
Type = Postgresql
host = localhost
dbuser = the actual username
dbpass = the password for the user
max_db = 500 (my guess is it's either the max size or the max number of rows)
charsets = UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8 (the character. I stick to utf8 as it covers alot)
tpl = As far as I can guess, it's a template within vesta itself