Show
Ignore:
Timestamp:
07/19/08 13:12:59 (6 months ago)
Author:
andyman3000
Message:

Added German translation for the Connection Management chapter of the documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/docs/manual/de/connection-management/dsn-the-data-source-name.txt

    r4674 r4695  
    1 In order to connect to a database through Doctrine, you have to create a valid DSN - data source name.  
     1Um eine DB-Verbindung mit Doctrine herzustellen, benutzen Sie einen gültigen DSN  - data source name (Name der Datenquelle). 
     2Doctrine unterstützt sowohl PEAR/DB/MDB2 als auch PDO DSN. Wenn Sie mehr zu PDO DSN wissen möchten, lesen Sie [[php PDO->__construct()]]. 
     3  
     4Ein DSN besteht aus folgenden Teilen 
    25 
    3 Doctrine supports both PEAR DB/MDB2 like data source names as well as PDO style data source names. The following  
    4 section deals with PEAR like data source names. If you need more info about the PDO-style data source names see  
    5 [[php PDO->__construct()]]. 
     6||~ DSN Teil   ||~ Beschreibung || 
     7||  phptype    ||  von PHP benutzte DB (z.B. mysql , pgsql etc.) || 
     8||  dbsyntax   ||  verwendete Datenbaksyntax im Bezug auf SQL Syntax etc. || 
     9||  protocol   ||  Übertragunsprotokoll ( z.B. tcp, unix etc.) || 
     10||  hostspec   ||  Hostrechner (z.B. localhost)(Hostname[:Port]) || 
     11||  database   ||  Name der Dantenbank auf dem DBMS Server || 
     12||  username   ||  Username für Login || 
     13||  password   ||  Passwort für Login || 
     14||  proto_opts ||  Kann zusammen mit protocol benutzt werden|| 
     15||  option     ||  Zusätzliche Verbindungsoptionen angehängt im URL-Query String Format (Key/Value Paare getrennt mit &). Die folgende Tabelle zeigt eine unvollständige Auswahl an Optionen: || 
    616 
    7 The DSN consists in the following parts: 
     17**Optionsliste** 
    818 
    9 ||~ DSN part   ||~ Description || 
    10 ||  phptype    ||  Database backend used in PHP (i.e. mysql , pgsql etc.) || 
    11 ||  dbsyntax   ||  Database used with regards to SQL syntax etc. || 
    12 ||  protocol   ||  Communication protocol to use ( i.e. tcp, unix etc.) || 
    13 ||  hostspec   ||  Host specification (hostname[:port]) || 
    14 ||  database   ||  Database to use on the DBMS server || 
    15 ||  username   ||  User name for login || 
    16 ||  password   ||  Password for login || 
    17 ||  proto_opts ||  Maybe used with protocol || 
    18 ||  option     ||  Additional connection options in URI query string format. Options are separated by ampersand  
    19 (&). The Following table shows a non complete list of options: || 
     19||~ Name     ||~ Beschreibung || 
     20||  charset  ||  Einige Backends unterstützen das Setzen des Client Zeichensatzes.|| 
     21||  new_link ||  Einige RDBMS erzeugen keine neuen Verbindungen, wenn sie mehrfach mit dem gleichen Host verbinden. Diese Option versucht, immer eine neue Verbindung zu erzwingen. || 
    2022 
    21  
    22 **List of options** 
    23  
    24 ||~ Name     ||~ Description || 
    25 ||  charset  ||  Some backends support setting the client charset.|| 
    26 ||  new_link ||  Some RDBMS do not create new connections when connecting to the same host multiple times. This option  
    27 will attempt to force a new connection. || 
    28  
    29 The DSN can either be provided as an associative array or as a string. The string format of the supplied DSN is in its  
    30 fullest form: 
     23Der DSN kann entweder als assoziatives Array oder als String übergeben werden. Die komplette Variante des String-Formats sieht so aus: 
    3124 
    3225<code>phptype(dbsyntax)://username:password@protocol+hostspec/database?option=value</code> 
    3326 
    34 Most variations are allowed: 
     27Die meisten Schreibweisen werden unterstützt, z.B.: 
    3528 
    3629<code> 
     
    4740</code> 
    4841 
    49 The currently supported database backends are:  
     42Zur Zeit werden folgende DB-Systeme unterstützt: 
    5043 
    51 ||~ Driver name ||~ Supported databases || 
     44||~ Treibername ||~ Unerstützte Datenbank || 
    5245||  fbsql       ||  FrontBase || 
    53 ||  ibase       ||  InterBase / Firebird (requires PHP 5) || 
    54 ||  mssql       ||  Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql) || 
     46||  ibase       ||  InterBase / Firebird (benötigt PHP 5) || 
     47||  mssql       ||  Microsoft SQL Server (NICHT für Sybase. Compile PHP --with-mssql) || 
    5548||  mysql       ||  MySQL || 
    56 ||  mysqli      ||  MySQL (supports new authentication protocol) (requires PHP 5) || 
     49||  mysqli      ||  MySQL (unterstütztz neues Authentication Protokoll) (benötigt PHP 5) || 
    5750||  oci8        ||  Oracle 7/8/9/10    || 
    5851||  pgsql       ||  PostgreSQL  || 
     
    6053||  sqlite      ||  SQLite 2 || 
    6154 
    62 A second DSN format supported is 
     55Ein zweites unterstütztes DSN Format ist: 
    6356 
    6457<code> 
     
    6659</code> 
    6760 
    68 If your database, option values, username or password contain characters used to delineate DSN parts, you can escape  
    69 them via URI hex encodings:   
     61Wenn der Datenbankname, die Option Parameter, der Username oder das Passwort Zeichen enthalten, die zur Kennzeichnung von DSN Teilen reserviert sind, können Sie diese durch die entsprechenden URI Hexadezimal-Codes ersetzen: 
    7062 
    71 ||~ Character ||~ Hex Code || 
     63||~ Zeichen  ||~ Hex Code || 
    7264|| :          ||  %3a      || 
    7365|| /          ||  %2f      ||  
     
    8072|| &          ||  %26      ||  
    8173 
    82 Warning  
    83 Please note, that some features may be not supported by all database backends.  
     74Warnung  
     75Bitte beachten Sie, dass einige Features nicht von allen Datenbanksystemen unterstützt werden.  
    8476  
    8577 
    86 +++ Examples 
     78+++ Beispiele 
    8779 
    88 **Example 1.** Connect to database through a socket 
     80**Bespiel 1.** Verbindung zur Datenbank mit einer Socket-Connection 
    8981 
    9082<code> 
     
    9284</code> 
    9385 
    94 **Example 2.** Connect to database on a non standard port 
     86**Bespiel 2.** Verbindung zur Datenbank über einen Nicht-Standard-Port 
    9587 
    9688<code> 
     
    9890</code> 
    9991 
    100 **Example 3.** Connect to SQLite on a Unix machine using options 
     92**Bespiel 3.** Verbindung mit SQLite auf einem Unix Server mit zusätzliche Parameters (options) 
    10193 
    10294<code> 
     
    10496</code> 
    10597 
    106 **Example 4.** Connect to SQLite on a Windows machine using options 
     98**Bespiel 4.** Verbindung mit SQLite auf einem Windows Server mit zusätzliche Parameters (options) 
    10799 
    108100<code> 
     
    110102</code> 
    111103 
    112 **Example 5.** Connect to MySQLi using SSL 
     104**Bespiel 5.** Verbingung mit MySQLi über SSL 
    113105 
    114106<code>