Changes

From SME Server
Jump to navigationJump to search
335 bytes added ,  09:56, 19 June 2009
m
→‎odbc.ini: added hosts
Line 163: Line 163:  
  Description = Connection to DB_KALLE on server xp3c
 
  Description = Connection to DB_KALLE on server xp3c
 
  Trace = No
 
  Trace = No
  Server = 192.168.0.112
+
  Server = xp3c
 
  Database = db_kalle
 
  Database = db_kalle
 
  Port = 1433
 
  Port = 1433
Line 169: Line 169:     
  expand-template /etc/odbc.ini
 
  expand-template /etc/odbc.ini
 +
 +
====Hosts====
 +
If the DNS does not resolve the ip of the machines running the remote SQL server (try ping the host name), add them to your hosts file (ip and change the machine name ...):
 +
mkdir -p /etc/e-smith/templates-custom/etc/hosts
 +
 +
pico /etc/e-smith/templates-custom/etc/hosts/20xp3c
 +
 +
192.168.0.112  xp3c
 +
 +
expand-template /etc/hosts
    
===Test again===
 
===Test again===
206

edits

Navigation menu