« MySQL/Manipulation de base » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Ligne 131 :
</source>
 
Les fichiers <code>/etc/odbc.ini</code> (empty file) andet <code>/etc/odbcinst.ini</code> aresont createdcréés.
 
<code>odbcinst.ini</code> déclare le pilote ODBC disponible. Exemple pour Debian :
{{traduire}}
<code>/etc/odbc.ini</code> (empty file) and <code>/etc/odbcinst.ini</code> are created.
<code>odbcinst.ini</code> declares the available ODBC driver. Here's the MySQL statement (paths to the .so files may vary depending on the distribution); for Debian:
[MySQL]
Description = MySQL driver
Ligne 150 ⟶ 149 :
 
 
Now we can useMaintenant <code>odbcinst</code> est utilisable :
# odbcinst -j
unixODBC 2.2.4
Ligne 156 ⟶ 155 :
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini
ForPour furtherd'autres options : <code>man odbcinst</code>
 
 
{{traduire}}
First of all, we have to create at least one DSN (Data Source Name or Data Set Name), because every ODBC connection is initialized through an existing DSN. It's true in every cases, so it is required for an ODBC connection from OOo.