# Error connecting to local database on fresh Trellis install

**URL:** https://discourse.roots.io/t/error-connecting-to-local-database-on-fresh-trellis-install/13566
**Category:** trellis
**Created:** 2018-09-10T13:04:41Z
**Posts:** 1

## Post 1 by @richt — 2018-09-10T13:04:41Z

I’m using Sequel Pro to connect to the VM database on a fresh installation but keep getting this error.

> Used command: /usr/bin/ssh -v -N -S none -o ControlMaster=no -o ExitOnForwardFailure=yes -o ConnectTimeout=10 -o NumberOfPasswordPrompts=3 -i /Users/richardtorble/wordpress/projects/holdsworthdesigns.co.uk/trellis/.vagrant/machines/default/virtualbox/private\_key -o TCPKeepAlive=no -o ServerAliveInterval=60 -o ServerAliveCountMax=1 [vagrant@holdsworthdesigns.co.uk](mailto:vagrant@holdsworthdesigns.co.uk) -L 60300:127.0.0.1:3306  
> OpenSSH\_7.6p1, LibreSSL 2.6.2  
> debug1: Reading configuration data /Users/richardtorble/.ssh/config  
> debug1: Reading configuration data /etc/ssh/ssh\_config  
> debug1: /etc/ssh/ssh\_config line 48: Applying options for \*  
> debug1: Control socket " none" does not exist  
> debug1: Connecting to [holdsworthdesigns.co.uk](http://holdsworthdesigns.co.uk) [217.160.0.142] port 22.  
> debug1: connect to address 217.160.0.142 port 22: Connection refused  
> debug1: Connecting to [holdsworthdesigns.co.uk](http://holdsworthdesigns.co.uk) [2001:8d8:100f:f000::241] port 22.  
> debug1: connect to address 2001:8d8:100f:f000::241 port 22: No route to host  
> ssh: connect to host [holdsworthdesigns.co.uk](http://holdsworthdesigns.co.uk) port 22: No route to host

I’m not sure where SP is getting the 217.160.0.142 IP address from because that’s not the address set in vagrant\_ip.

Any thoughts?
