<slide>
<title>Connection String</title>

<example result="0"><![CDATA[<?php
require 'vendor/autoload.php';

$options = [ 'replicaSet' => 'seta' ];

$m = new \MongoDB\Client( 'mongodb://localhost:13000/?replicaSet=seta' );

$m = new \MongoDB\Client( 'mongodb://localhost:13000,localhost:13001', $options );

$m = new \MongoDB\Client( 'mongodb://user:password@localhost:13000/demo', $options );
?>]]></example>

<list>
	<bullet>Add more than one host for seeding (a majority)</bullet>
	<bullet>Don't add the arbiters to the connection string</bullet>
</list>

</slide>
