How to fix the [unixODBC][Driver Manager]Data source name not found, and no default driver specified (ODBC::Error)

前端 未结 4 1067
没有蜡笔的小新
没有蜡笔的小新 2020-12-17 23:33
/local/rvm/gems/ruby-1.9.2-p320/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:455:in `initialize\': IM002 (0)         


        
4条回答
  •  太阳男子
    2020-12-18 00:16

    just a tip, in my case was not possible with Driver = FreeTDS and both variables "servername" and "server" in odbc.ini. I let only "server = ip" and "Driver = /usr/lib/i386-linux-gnu/odbc/libtdsodbc.so", worked fine.

提交回复
热议问题