Displaying 20 results from an estimated 10000 matches similar to: "Re: mySQL Not working with rails app"
2006 Aug 22
0
Re: mySQL Not working with rails app
Hi Joe
You mention you''re using debian - is ruby installed from binary
packages or from source?
If it''s binary you should just be able to apt-get install
libdbd-mysql-ruby
If source make sure you have ruby-dev and build-essential* installed,
then try installing the gem again.
* you probably don''t need all of build-essential, but there''s no harm
in doing so
2006 Jun 13
4
mysql gem not buidling on OSX 10.4.6
When I `sudo gem install mysql` I get the following:
--snip--
$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2010 May 24
1
[0017330] 1.6.1 and 1.6.2 + MySQL crases on ODBC Query (via func_odbc or sip realtime)
Hi,
I'm expiriencing very annoying issue with Asterisk while using ODBC
on Linux box running Debian with following packages:
Asterisk-node0:/tmp# dpkg -l | grep -i odbc
ii libiodbc2 3.52.6-2
iODBC Driver Manager
ii libmyodbc 3.51.15r409-4 the
MySQL ODBC driver
ii libodbcinstq1c2
2006 Apr 28
4
mongrel error on debian sarge
Hi,
I cannot get mongrel working on i686 debian sarge, whereas it works
quite well on another ppc box under debian unstable.
Instead I can use scgi_rails or webbrick without any problem.
Here is the error:
# mongrel_rails start
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28:
uninitialized constant Mongrel::HttpHandler (NameError)
from
2006 Apr 11
15
Migrating rails 1.0 app to 1.1 - Noob question
Hi all, I''ve upgraded my system to Rails 1.1.1 successfully.
After much looking I haven''t found out how to migrate an existing
application to a new rails version though. What is the procedure, if
any, for upgrading the application I''ve developed in 1.0? Is there a
script I need to run?
--
Posted via http://www.ruby-forum.com/.
2003 Jun 07
1
Queue App Patch, addendum
Another thing I am working on is to do the timeout people have been
asking about.
If they have been on hold for (X minutes) dump out of the Queue App, so
that the next
priority can be a common mailbox.
And I forgot to add the patch to my last email!!! argh!!!!
http://pbx.usedontmiss.com/queue_patch
John
2006 Feb 25
0
Problems with certain Global Variables not passing correctly.
I have the following in my extensions.conf
exten => s,4,MixMonitor(${DATETIME}_${CALLERID}_${EXTEN}.wav)
The ${EXTEN} works correctly, however the ${DATETIME} (I have tried
${TIMEDATE} too) and ${CALLERID} (tried with ${CALLERID(num)}) doesn't.
There just isn't any information assigned to those variables it seems.
Is there another location these variables need to be initialised or
2006 Jul 12
10
Recurring mySQL Error
I am getting the following error when running my app on the server:
mysql::Error: Lost connection to MySQL server during query: <some SQL
here>
The SQL is usually a SHOW FIELDS statement, but after scouring the log
files I see that it occassionally happens with other queries as well.
I did a little research, and one topic I found suggested that I edit the
/etc/mysql/my.cnf and increase
2006 Jul 03
5
I can''t see my app
Hello everybody,
I was able to set up Ruby 1.8.4 on Rails, using Apache 2.2.2 and MySql
5.0.22 and if you go to http://spagnolo.troccoli.it you have the nice
"Welcome abroad" page.
I have created a table (modes) with mysql
CREATE TABLE `modes` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`description` VARCHAR(45) NOT NULL DEFAULT '''',
PRIMARY KEY(`id`)
)
2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version
of rails was too old, and I needed to install it from gems instead of
the version in my version of Ubuntu. Since then, I''ve done that, and I
built ruby 1.8.4 from source and installed it. The installation was to
/usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I
renamed that and put a link to
2002 Oct 29
1
Matching two redhat servers
Help!
I've got two new servers. I installed redhat v7.3 on one myself, and have got it to run samba successfully and connect to a W95 PC. The other was bought pre-installed with the same linux version, and I cannot get the W95 box to get beyond "No domain server was available...".
As far as I see, \etc\samba\smb.conf files are identical, as are the \etc\hosts files. I'm using
2008 Mar 28
1
mysql-server installing...or not`
Hi all,
I've got a clean CentOS 5.1 install and need php/mysql support. Seems
mysql (client) is installed, but I need server, so I did
yum install mysql-server
and got the errors posted below.
Have I missed something or is there a problem with this package?
(actually I should ask do I need this package - I believe I do, but I've
been wrong before - as recently as today :) )
-Ray
2007 Dec 21
0
CESA-2007:1155 Important CentOS 5 x86_64 mysql Update
CentOS Errata and Security Advisory 2007:1155 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2007-1155.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
x86_64:
f4179eb7bc7014eb6f29d1b1c83a79b1 mysql-5.0.22-2.2.el5_1.1.i386.rpm
bd2dbfb0f6100be52df565389490f41a mysql-5.0.22-2.2.el5_1.1.x86_64.rpm
2007 Aug 31
0
CESA-2007:0875 Important CentOS 5 x86_64 mysql Update
CentOS Errata and Security Advisory 2007:0875 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2007-0875.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
x86_64:
637c01637446690778d046575febe338 mysql-5.0.22-2.1.0.1.i386.rpm
528bda451b5dd0d0e64c8dc13694f012 mysql-5.0.22-2.1.0.1.x86_64.rpm
2007 Apr 18
2
[Bridge] The problem of bridge+netfilter+nat
Hi,
I met a problem when using bridge with netfilter. The kernel version
2.4.20, and the patch is bridge-nf-0.0.10-against-2.4.20.diff.
Our firewall configuration is as follows,
eth3,eth4,eth5,eth6 configured as a bridge with an IP address 10.0.0.1.
The local net connect to the internet via the gateway 10.0.0.1 and SNAT
is applied on the firewall. It worked but sometimes there are some
2007 Jun 27
1
Zap dialling issues
I'm having problems getting an Xorcom USB Bri 4 dialling out in
Australia.
I can receive calls into the system without an issue, but I can not for
the life of me dial out of the system. Below are my configs, I'm hoping
its something simple that I just can't see as I've been looking at it
for to long. Can any one point me in the right direction.
P.S. Yes it is meant to be in TE
2007 Dec 21
0
CESA-2007:1155 Important CentOS 5 i386 mysql Update
CentOS Errata and Security Advisory 2007:1155 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2007-1155.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
i386:
805594961412a6e5e25a1f2a55b0d098 mysql-5.0.22-2.2.el5_1.1.i386.rpm
357745be6031d651241c2d3409f6f78d mysql-bench-5.0.22-2.2.el5_1.1.i386.rpm
2007 Aug 31
0
CESA-2007:0875 Important CentOS 5 i386 mysql Update
CentOS Errata and Security Advisory 2007:0875 Important
Upstream details at : https://rhn.redhat.com/errata/RHSA-2007-0875.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
i386:
637c01637446690778d046575febe338 mysql-5.0.22-2.1.0.1.i386.rpm
1881b07ce7d061657c68b1c086df38e0 mysql-bench-5.0.22-2.1.0.1.i386.rpm
2007 Apr 16
1
MySQL 5.0.22 on CentOS 4.4
Hi...I was pleased to see MySQL 5.0.22 and PHP5 in CentOS 5.0 and as much as I
need these updates I think I should be safe and not upgrade until CentOS 5.1
is released. But for now I am running CentOS 4.4 with stock MySQL and PHP rpm
packages. I need to upgrade MySQL to 5.0 and I noticed there is a mysql-server-
5.0.22-1.centos.1.i386.rpm package in the centosplus directory. There is also a
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem.
How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)?
# dpkg -i puppet-dashboard_1.1.0-1_all.deb
Selecting previously deselected package puppet-dashboard.
(Reading database