Le lundi 31 janvier 2005 � 17:38 -0800, Ed Mansky a �crit :

Ed,

Exemplary /etc/odbc.ini, odbcinst.ini and user .odbc.ini files inline :


/etc/odbc.ini (system wide DSN declarations) :

[mrtip]
Description             = MySQL
Driver          = MySQL
Server          = localhost
Database                = mrtip
Port            = 
Socket          = 
Option          = 
Stmt            = 

[Cabinet]
Description             = MySQL
Driver          = MySQL
Server          = 212.134.43.1
Database                = ipdatabase
Port            = 
Socket          = 
Option          = 
Stmt            = 

[ipdatabase]
Description             = MySQL
Driver          = MySQL
Server          = localhost     
Database                = ipdatabase
Port            =               
Socket          =               
Option          =               
Stmt            =        


/etc/odbcinst.ini  :

[MySQL]                         
Description             = MySQL Driver
Driver          = /usr/lib/libmyodbc3-3.51.09.so
Setup           = /usr/lib/libodbcmyS.so.1.0.0
FileUsage               = 1     


User .odbc.ini :

[ipdatabase]                    
Description             = MySQL Driver
Driver          = MySQL Driver  
Server          = 192.232.34.1  
Database                = ipdatabase
Port            =               
Socket          =               
Option          =               
Stmt            =               

[CrashTest]
Description             = MySQL Driver
Driver          = MySQL Driver
Server          = localhost
Database                = crashtest
Port            = 
Socket          = /var/lib/mysql/mysql.sock
Option          = 
Stmt            = 

[FACTURIER]
Description             = MySQL Driver
Driver          = MySQL Driver
Server          = 
Database                = FACTURIER
Port            = 
Socket          = /var/lib/mysql/mysql.sock
Option          = 
Stmt            = 


[CPA]
Description             = MySQL Driver
Driver          = MySQL Driver
Server          = localhost
Database                = CPA
Port            = 
Socket          = /var/lib/mysql/mysql.sock
Option          = 
Stmt            = 




HTH,

Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to