title: Working locally, can't connect in Laravel to remote DB
body: <p>I'm trying to work locally in Laravel and am having trouble connecting to a remote database.  I've used my domain name (domain.org) as my host, and then password, username and database name as normal.  But I get this error:</p>
  
  <pre><code>PDO::__construct(): Premature end of data (mysqlnd_wireprotocol.c:553)
  </code></pre>
  
  <p>If I look at the file where the error is happening, it's in my PDO connection in the MySQL driver.  I asked my ISP about settings and he said to use domain.org or the IP.  I tried both and I still get the error.  I tried setting the port to the standard 3306 and still get the error.  I can't use localhost as my host because that would refer to my local computer.  Can someone help?  What do I need to do to connect?</p>