mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
MS Access sample
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195747 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
35eb4cdf6d
commit
d288ec8944
1 changed files with 14 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- Purpose: database.vendors -->
|
||||
<!-- Membership: bundled, external, pecl -->
|
||||
|
||||
|
@ -106,7 +106,19 @@ odbc:DSN={IBM DB2 ODBC};HOSTNAME=localhost;PORT=50000;DBNAME=SAMPLE;PROTOCOL=TCP
|
|||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>PDO_ODBC DSN example (Microsoft Access uncataloged connection)</title>
|
||||
<para>
|
||||
The following example shows a PDO_ODBC DSN for connecting to
|
||||
a Microsoft Access database stored at <userinput>C:\db.mdb</userinput> using the full
|
||||
ODBC DSN syntax:
|
||||
<programlisting><![CDATA[
|
||||
odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\\db.mdb;Uid=Admin
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue