Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

not enought arguments

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
newyorknix
Posts: 3
Joined: Tue Mar 29, 2016 6:38 am

not enought arguments
  • Quote

Post by newyorknix » Wed Mar 30, 2016 6:25 am

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
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: not enought arguments
  • Quote

Post by BBuchanan1013 » Fri Apr 15, 2016 7:08 am

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
Ok, so break it down.
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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password