windows - PostgreSQL cannot connect: service definition not found -


in windows 10 pro 64-bit & new installation of postgresql 9.4, attempting connect server in pgadmin iii results in

error screen

the service running , service name correct, seen here

windows service dialog

i brand new postgresql, fwiw, i've configured working symfony 2.7 application use postgresql , have (according symfony console) created database , schema.

what required pgadmin connect properly?

it turns out error message grossly misleading. there no issue service definition. instead, learned when logged in user other user created postgresql installation (e.g., postgres) 1 needs @ command prompt:

runas /user:postgres "c:\program files\postgresql\9.4\bin\pgadmin3.exe" 

there may more elegant solution making above cmd file. i'd know is!


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -