title: Why is PHP PDO DSN a different format for MySQL versus PostgreSQL?
body: <p>When I connect to a MySQL database using PDO, the way I need to connect is:</p>
  
  <pre><code>$pdoConnection = new PDO("mysql:host=hostname;dbname=databasename",user,password);
  </code></pre>
  
  <p>But, for PostgreSQL, the DSN is more standard (IMO):</p>
  
  <pre><code>$pdoConnection = new PDO("pgsql:host=hostname;dbname=databasename;user=username;password=thepassword");
  </code></pre>
  
  <p>Is there any reason why MySQL cannot use a single string?  Or is this just because of the versions I am using (PHP 5.2, MySQL 5.0, PostgreSQL 8.1)?</p>