note 103501 added to ref.pdo-mysql

From: Date: Sat, 16 Apr 2011 00:54:24 +0000
Subject: note 103501 added to ref.pdo-mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-178907@lists.php.net to get a copy of this message
Today's PHP snapshot now has SSL support for PDO. Follow the directions here ( http://dev.mysql.com/doc/refman/5.0/en/secure-create-certs.html ) to set up MySQL and then use the following connection options: <?php $pdo = new PDO( 'mysql:host=hostname;dbname=ssldb', 'username', 'password', array( PDO::MYSQL_ATTR_SSL_KEY =>'/path/to/client-key.pem', PDO::MYSQL_ATTR_SSL_CERT=>'/path/to/client-cert.pem', PDO::MYSQL_ATTR_SSL_CA =>'/path/to/ca-cert.pem' ) ); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 70.36.49.71 ---- Manual Page -- http://www.php.net/manual/en/ref.pdo-mysql.php Edit -- https://master.php.net/note/edit/103501 Del: integrated -- https://master.php.net/note/delete/103501/integrated Del: useless -- https://master.php.net/note/delete/103501/useless Del: bad code -- https://master.php.net/note/delete/103501/bad+code Del: spam -- https://master.php.net/note/delete/103501/spam Del: non-english -- https://master.php.net/note/delete/103501/non-english Del: in docs -- https://master.php.net/note/delete/103501/in+docs Del: other reasons-- https://master.php.net/note/delete/103501 Reject -- https://master.php.net/note/reject/103501 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178907) next »