How to connect with host PostgreSQL from vagrant virtualbox machine

You can reach your host from your guest by using the default gateway on your VM. See this answer for an explanation. By running netstat -rn you can get the default gateway and then use that ip address in your config file of your application. Running netstat -rn | grep “^0.0.0.0 ” | cut -d … Read more

trying to install pymssql on ubuntu 12.04 using pip

Make sure you have the python-dev package installed (needed to compile packages with native bindings (thanks to @ravihemnani). Then you’ll need to install the FreeTDS development package (freetds-dev) before trying to install pymssql with pip: $ sudo apt-get install freetds-dev and then, in your virtualenv or wherever you wish to install it: $ pip install … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)