similar to: [retry] fixture_references: "Mysql::Error #HY000"? (fwd)

Displaying 20 results from an estimated 300 matches similar to: "[retry] fixture_references: "Mysql::Error #HY000"? (fwd)"

2011 May 08
0
Re: mysql.exe ERROR 2005 (HY000): Unknown MySQL server host 'loc
Romeo Petruca wrote: > wine mysql.exe -h localhost -u root -p First of all, why are you using windows' version or 'mysql' client and not native Linux version? Romeo Petruca wrote: > i got this error: > ERROR 2005 (HY000): Unknown MySQL server host 'localhost' (10093) Most likely it's trying to use pipe and fails of course. Add '--protocol=TCP' option.
2011 May 08
0
mysql.exe ERROR 2005 (HY000): Unknown MySQL server host 'localhost' (10093)
Hi, Fedora 14, wine version 1.3.18 when i try to connect to linux mysql server with command line: wine mysql.exe -h localhost -u root -p i got this error: ERROR 2005 (HY000): Unknown MySQL server host 'localhost' (10093) with this command line is all ok. wine mysql.exe -h 127.0.0.1 -u root -p linus hosts file /etc/hosts: 127.0.0.1 localhost 127.0.0.1 localhost.localdomain
2006 Aug 15
0
duplicate entry mystery
I have a rails app that has a sync feature which looks up a remote database and updates the local database accordingly. Anyway, things work great for the most part, but there is a section of code which seems to randomly raise errors. I have something like this: homelinks = Syncinventorydesc.find(:all) InventoryDescription.delete_all() for link in homelinks locallink =
2006 Aug 16
0
mysterious ''duplicate entry'' database error when building table
hi, i tried posting this yesterday, but i never saw my message make it to the list so i suspect something went awry.. my rails app has some ''sync'' code where it connects to a remote db, grabs the records from a table, deletes all the records from a table which is a local copy, and then rebuild the table with the records fetched on the remote db.. it boggles the mind how a
2006 Jul 17
0
Difference between mongrel and webrick handling request.request_uri
If I do this GET request: GET /comments/new?description_id=1 HTTP/1.1 what ends up in request.request_uri is different for mongrel and webrick: Mongrel: "/comments/new" Webrick: "/comments/new?description_id=1" The mongrel behaviour breaks my app because I''m storing the uri to redirect to it later. Mongrel even logs the request as: 127.0.0.1 - [Mon, 17 Jul 2006
2006 Jan 18
2
categories/recipes & books/descriptions - has_many vs has_one => id question
People, In the cookbook eg, categories has_many recipes but in a book eg, book has_one description - doesn''t that mean that the id of the description should be the same as the id of the book (instead of having it''s own "description_id" in the book table? Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys, I?m getting this error with mongrel_cluster. I am able to start mongrel through mongrel_rails start but the cluster is not working. Initially mongrel_rails wouldn?t work but after I added $ORACLE_HOME and $PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working still. The mongrel log file looks like below. Any help is appreciated. Thanks. -----------begin
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed. CHANGES ------- Revision 8649 committed by gbuesing on 2008-01-16 20:07:10 Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002 M /trunk/activesupport/CHANGELOG M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb M /trunk/activesupport/test/core_ext/date_time_ext_test.rb TEST FAILURES AND
2007 Aug 06
4
problem with rails_root
Hi everybody, I used a openseradmin who is based on rubygem (i suppose ), so when i start my server of this openseradmin in the http://localhost:3000, i reciceved some messages like this: SocketError in LoginController#login getaddrinfo: Name or service not known RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2009 Nov 05
4
MySQL installation problem
Hi; It's been a while since I controlled my own server and I'm rusty. Trying to install mysql yum install mysql All looks well. Here's what happens: [root at 13gems www]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root at 13gems www]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to
2007 Oct 07
10
Rails to English
I am currently using the book "Agile Web Development With Rails" (2005). I am working on a fully function web application that has a shopping cart. The web page displays this, ActiveRecord::StatementInvalid in AdminController#create Mysql::Error: #23000Column ''date_available'' cannot be null: INSERT INTO products (`image_url`, `date_available`, `price`, `title`,
2007 Aug 30
0
Method missing error after switching to DRB
I am getting these errors after switchign to dRb: It is trying to call ''add'' on MY SourceListing class, not extended with the ferret indexing methods. Any ideas on where to fix this? I''m combing through the code now. no luck, trying to call class method instead ferret server error undefined method `add'' for SourceListing:Class
2008 Jun 04
2
gem_original_require
Hi all, my computer decide to take a dirt nap today so I am trying to relaod rails on another machine and I am getting this error message which I can''t make heads or tails about: no such file to load -- postgres RAILS_ROOT: ./script/../config/.. c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
2007 Oct 07
1
How to store a Mechanize object in the database?
Hi, I am trying to save a Mechanize object in database (using a Rails Model). But the save operation throws a TypeError Considering that "agent" is an instance of a Rails Model and "user" is defined as a "text" type in the Model. irb(main):039:0> agent.user = WWW::Mechanize.new #<WWW::Mechanize:0xb71295f0 @follow_meta_refresh=false, @key=nil,
2007 Jun 15
3
Error when running functional test - Errno::ENOENT
Hello, I''m getting an error when running functional tests as follows, using Mac OSX 10.4.9, Rails 1.2.3 . When I run: ruby test/functional/campaign_controller_test.rb I get this error: Started E Finished in 0.027402 seconds. 1) Error: test_should_get_icon_data(CampaignControllerTest): Errno::ENOENT: No such file or directory - /usr/src/projects/myproject/
2005 Nov 26
4
activerecord rake test_mysql
Hi (I''m resubmitting this because First question: This is the rails dev list, correct? I''d like to submit a patch and am following the steps on this page: http://dev.rubyonrails.org/ Here''s what I did (using mysql 5.0.15-nt): created 2 databases: activerecord_unittest activerecord_unittest2 created 1 user: rails (giving all priveleges to both databases) ran
2007 Jul 23
2
Firebird, fireruby
Hi Guys I am pretty new to Ruby. One of our client is using Firebird as his backend database. I have to create a script which will connect to his database, fetch some data and update few tables in MS-SQL database. Now problem is: i have installed FireRuby, got databaes, changed my database.yml file. I am trying to display all the users in Members table. but i am getting following error:
2007 Mar 18
2
mongrel timing out
I am not sure when it exactly occurred but I have 2 servers I am about to migrate to apache+mongrel from lighty+fastcgi oddly, both my servers seemed to have died at the same time everytime I restart within a 24 hr period ( I don''t know when, my logs don''t show it ). Can someone please point me in the direction of what I need to do to trace the cause of this. Or what you would
2008 Nov 12
5
dynamic condition for has_one and eager loading issue
Hi, I ve defined the following relation in one of my models with a dynamic where condition: has_one :selection, :foreign_key => ''object_id'', :conditions => ''selection_type = 1 and account_id = # {self.send(:account_id)}'' That works perfect, however when I try to eager load that relation I am getting the following error when doing a
2007 Nov 02
0
uninitialized constant CreateDatabase
I''m trying to run db:migrate and get the error below. What''s wrong? (in C:/projects/rails/admin) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant CreateDatabase c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in