windows - Configuring IBM DB2 ODBC - Changing the Host IP / Alias already exists -
i've created ibm odbc connection server via microsoft's own odbc administrator. after finding difficulties on put in ip address (otherwise, odbc uses local database server), managed connect server pc successfully.
during process, however, did not put in database alias, did not know means, nor for. odbc still works fine.
the server, however, changed ip address. don't know how or why that, , how stop it, working odbc unable connect, saying gave error message @ 192.168.1.127, server's previous ip address.
i tried, , failed, find out how change host ip via odbc configuration.
in frustration, deleted odbc connection, created new 1 under system dsn, etc., etc., upon clicking finish, says alias urcdb exists.
how can solve these problems?
note:
- urcdb name of database. in both occasions, did not put in alias field.
- there 2 urcdbs during odbc creation process. 1 local test database used have on pc (deleted), other, guess, left on deleted odbc server.
you have 2 options: 1. create dsn different alias. when creating dsn give original database name in database name filed , in alias field provide different name other origina database name.
uncatalog database name using below command
go run --> type db2cmd db2 uncatalog database database name
now open odbc create dsn giving dsn name , alias name original database name
Comments
Post a Comment