Amazon Redshift Guide de l'utilisateur Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 255
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 157
Database=database_name
locale=locale
The following example shows the configuration for odbc.ini on Linux operating systems:
[ODBC Data Sources]
Amazon_Redshift_x32=Amazon Redshift (x86)
Amazon_Redshift_x64=Amazon Redshift (x64)
[Amazon Redshift (x86)]
Driver=/opt/amazon/redshiftodbc/lib/32/libamazonredshiftodbc32.so
Host=examplecluster.abc123xyz789.us-west-2.redshift.amazonaws.com
Port=5932
Database=dev
locale=en-US
[Amazon Redshift (x64)]
Driver=/opt/amazon/redshiftodbc/lib/64/libamazonredshiftodbc64.so
Host=examplecluster.abc123xyz789.us-west-2.redshift.amazonaws.com
Port=5932
Database=dev
locale=en-US
Use the following format on Mac OS X operating systems:
[ODBC Data Sources]
dsn_name=driver_name
[dsn_name]
Driver=path/libamazonredshiftodbc.dylib
Host=cluster_endpoint
Port=port_number
Database=database_name
locale=locale
The following example shows the configuration for odbc.ini on Mac OS X operating systems:
[ODBC Data Sources]
Amazon_Redshift_dylib=Amazon Redshift DSN for Mac OS X
[Amazon Redshift DSN for Mac OS X]
Driver=/opt/amazon/redshift/lib/universal/libamazonredshiftodbc.dylib
Host=examplecluster.abc123xyz789.us-west-2.redshift.amazonaws.com
Port=5932
Database=dev
locale=en-US
Configuring the odbcinst.ini File
You use the odbcinst.ini file to define ODBC drivers.
API Version 2012-12-01
152
Amazon Redshift Management Guide
Configuring Connections in Amazon Redshift
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 254 255

Commentaires sur ces manuels

Pas de commentaire