mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
add a few dsn examples for pdo_firebird
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331423 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
385d9fd8bc
commit
3302448905
1 changed files with 24 additions and 2 deletions
|
@ -69,12 +69,34 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>PDO_FIREBIRD DSN examples</title>
|
||||
<title>PDO_FIREBIRD DSN example with path</title>
|
||||
<para>
|
||||
The following example shows a PDO_FIREBIRD DSN for connecting to
|
||||
Firebird databases:
|
||||
<programlisting><![CDATA[
|
||||
firebird:dbname=DATABASE.GDE
|
||||
firebird:dbname=/path/to/DATABASE.FDB
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
<example>
|
||||
<title>PDO_FIREBIRD DSN example with port and path</title>
|
||||
<para>
|
||||
The following example shows a PDO_FIREBIRD DSN for connecting to
|
||||
a Firebird database using hostname port and path:
|
||||
<programlisting><![CDATA[
|
||||
firebird:dbname=hostname/port:/path/to/DATABASE.FDB
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
<example>
|
||||
<title>PDO_FIREBIRD DSN example with localhost and path to employee.fdb on Debian system</title>
|
||||
<para>
|
||||
The following example shows a PDO_FIREBIRD DSN for connecting to
|
||||
a Firebird database employee.fdb using localhost:
|
||||
<programlisting><![CDATA[
|
||||
firebird:dbname=localhost:/var/lib/firebird/2.5/data/employee.fdb
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue