Displaying 20 results from an estimated 300 matches similar to: "[OT] HowtoConnectToMicrosoftSQLServerFromRailsOnLinux from Ubuntu"
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2005 Jan 27
1
pulling files - Correction
I set up ssh without authentication on both servers and I have tested it
fine. When I do this:
#/usr/local/bin/rsync --rsh /usr/local/bin/ssh --rsync-path
/usr/local/bin/rsync remote_server::test /home/test
rsync: unable to open configuration file "rsyncd.conf": No such file or
directory
rsync error: syntax or usage error (code 1) at clientserver.c(502)
rsync: connection unexpectedly
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
Hi -- I''ve been having problems connecting to a SQL Server database that
I thought might be related to the fact I was upgrading Rails to 2.0.
However, I also was moving the project to my shiny new macbook.
Anyway, after jumping through a few hoops (instaling DBI, etc.), I
finally get to my latest error message:
<error>
DBI::InterfaceError: Could not load driver (no such file to
2005 Jul 13
1
syncing from the "file-list" option
Hello, all.
I'm a begineer for rsync and please help me.
I would like to sync data between two ftp sevrer.
If one change/add/delete data usingf ftp, other ftp server should sync from
the main ftp servert.
In my thought, full data directory syncing is too slow, so if the client
uses " --files-from" option, sync speed more fast than full data directory
syncing.
file list is
2009 Nov 06
2
odbc to ms-sql server
Hi all,
I'm trying to set up an odbc connection to a ms-sql server from an
asterisk 1.6.1 install
My problem is that I cannot get asterisk to build func_odbc &
res_odbc.so
I installed yum -y install unixODBC unixODBC-devel libtool-ltdl
libtool-ltdl-devel
And then went on to reconfigure / recompile asterisk
after a ./configure --with-odbc=/usr/lib/
I get
2006 Apr 04
1
Other options for SQL Server connectivity on Linux?
I am connecting to a SQL Server database from RoR on a Mandriva Linux
installation.
I am working through the following HOWTO to get the database connection
working:
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
Any other ways to do it?
Any updated info. on such installations?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2002 Apr 20
1
rsync "exclude-from"
Hi -
I want to use rsync in combination with a list of files it should exclude,
but somewhere I seem to have a problem.
The problem is that the files and directories I list in the file to be
excluded are in fact synchronized on the remote server. I should add that
they are not present on the remote server and shall not, thus, excluding
them from synchronization. :)
The "exclude file"
2009 Apr 06
2
URL issue localhost/mongrel vs remote-server/apache
Hi all
I have a small issue I ma trying to solve (at least to understand..)
I am testing an app on my remote_server (w Apache/Passenger) in a
sub_URI, without any problem (I tested also the same app, locally w
Apache too)
in my environment.rb , I have initialized
config.action_controller.relative_url_root = "/my_subURI"
config.action_controller.asset_host =
2004 Nov 27
2
Shared remote repository
Hello,
I have a bit of a problem - I have the feeling the solution is
ridicolously trivial, and yet I can't find it!
I have a remote repository of text files. Until today, I was the only
one changing those files: I would simply change them locally, and
update the remote repository with this command:
cd local_dir
rsync --delete -e ssh -Llavuz . merc@remote_server:remote_directory
2010 Mar 10
1
func odbc and mult iquery
Hello,
Does asterisk func odbc support multi query? I'm executing stored
procedure which returns two tables. With tsql command I can see both tables.
But asterisk only shows the first.
My database is MSSQL.
Maybe there is workaround...
Thanks
--
Best Regards,
Giedrius
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 14
3
Rails on Linux with a MS SQL Database
So, does anyone know much about getting rails (on Linux) to talk to
mssql? There is a mssql driver, but it only works in Windows. A site
said that using ODBC might be an option, but I didn''t see a specific
ODBC driver for rails mentioned.
The nix machine runs php and it can connect to the mssql db just fine, I
don''t recall if it was using ODBC or free TDS though. I hoped
2006 May 15
4
Other databases...
I''m a newbie to Ruby and I was wondering if Ruby on Rails will work with
databases that has a ODBC/JDBC driver or does it ONLY work with the
databases that it list in it''s documentation?
Thanks
--
Posted via http://www.ruby-forum.com/.
2005 Jun 28
2
Asterisk Realtime and ODBC
Hello all!
My basic problem is that we haven't been able to get realtime to use ODBC to
store configuration data. Here are the details:
We've installed Asterisk on a CentOS machine as follows:
1. Downloaded, compiled, and installed FreeTDS 0.63
2. Downloaded, compiled, and installed unixODBC 2.2.11
3. Downloaded, compiled, and installed Asterisk, Asterisk-Addons, and Zaptel
from CVS
2004 Aug 23
6
2 servers
Good day all
I've tried my iax conf and I'm struggling.So I want to know If someone
else got this working and if they can pleas send my their configs
I have to asterisk server,in different tows,both offices connected wit a
direct line so both servers are on the same network running SIP.Each
town got different extension register to each sever.Town A=100+ town
B=200+
How do I get town A
2006 May 28
10
Equivalence of TSQL Stored Proc and User defined functions
RoR Equivalence of TSQL Stored Procedures and User defined functions
As I browsed through the tutorials and online eBook ?Programming Ruby?,
I have not come across the terms ?Stored Procedures? or ?User-defined
functions? as I know them in SQL 2000.
However, the online documentations in MySQL 5.0 show that Stored
Procedures and User-defined functions are supported in MySQL 5.0.
I wonder what
2006 Jun 07
3
PHP UnixODBC MS SQl 2000
Hi,
I have Asterisk 12.7.1 installed through Asterisk@Home CD. and explicitly I
have installed UnixODBC and FREETDS in order to access MS SQL 2000 Database
which in on Windows 2003 Server on remote location.
I tested connectivity through isql and tsql, both utilities are working
fine.
I need to access MS SQL 2000 Database through PHP. When I tired to check the
connectivity through a Test PHP
2010 Mar 10
2
Windows API to connect UnixOdbc is not functional in Wine
Hello,
I have configured Wine in Ubuntu 9.04 to use the built-in odbc32.dll which in turn uses the Linux's unixodbc package.
When I am trying to run my windows application which actually uses Windows API connecting to Unix ODBC is not working.
The API uses is SQLDriverConnect (), that returns me error
[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not
2008 Nov 13
1
Intermittent connection failure
Hi,
i have sporadic connection problems with my rsync server.
I have _no_ firewall involved and there is _no_ max connections set.
rsync on the clients is started from cron via a bash script. There's
also no permission problem. rsyncd runs as daemon (is not started from
inetd).
It sometimes works, but every third or fourth rsync fails with this message:
rsync: failed to connect to
2004 Aug 27
1
Retrieve Info from Cisco Call Manager
This might be better suited on a different list, but...
Has anyone been able to retrieve information from a Cisco Call Manager
to plug it in to an Asterisk box? I am attempting to use freetds and
tsql to connect to the Microsft SQL server running on the Call Manager
and get any and all information that I can.
My big problem is that I can't figure out how to log on. I have set the
2011 Aug 01
2
Wine and MSSQL 2008: SSL Security Error
Hi everyone.
I'm trying to use a windows third part software, and it uses a MSSQL database stored in a Windows 2008 Server. For this, I have Ubuntu 11, Wine 1.2 and WineTricks.
Following the instructions on "How to configure Wine", the chapter 3.6 tell me to install MDAC_TYP.EXE, and then run CLICONFG.EXE and ODBCAD32.EXE. I did this.
I run ODBCAD32 to configure my System DNS, but