search for: dbconsol

Displaying 19 results from an estimated 19 matches for "dbconsol".

Did you mean: dbconsole
2011 Jan 23
0
Bundle installs/Cannot run dbconsole
...activeresource (3.0.3) Using bundler (1.0.7) Installing thor (0.14.6) Installing railties (3.0.3) Installing rails (3.0.3) Installing sqlite3 (1.3.3) with native extensions Installing sqlite3-ruby (1.3.3) Your bundle is complete! It was installed into ./sqlite3--with-sqlite3lib When I try running dbconsole I get Users/musdev/project_manager/sqlite3--with-sqlite3lib/ruby/1.9.1/gems/railties-3.0.3/lib/rails/commands/dbconsole.rb:94:in `exec'': Permission denied - /usr/lib/sqlite3 (Errno::EACCES) from /Users/musdev/project_manager/sqlite3--with-sqlite3lib/ruby/1.9.1/gems/railties-3.0.3/lib/r...
2010 Sep 28
1
Run 'rails console' no problem, but not 'rails dbconsole': Couldn't find database client: psql.
It''s one of those things that seems like it should work but does not. My rails app (and ''rails console'') clearly knows where my data is as I can see my data. When I run ''rails dbconsole'' I can not get in, I get this error: Couldn''t find database client: psql. Check your $PATH and try again. Up to now I just log in to pgsql directly and I am in, just curious to use the rails tool. Environment: Rails 3, 1.9.2, rvm. If you''ve seen this please let me kno...
2011 Dec 10
2
Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again.
Greetings, I am trying to get MySQL to run with Rails, but when I try to get it to run using "rails dbconsole" I get this error: C:\IS410\Programs\sqltest3>rails dbconsole Couldn''t find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again. I have MySQL installed, along with the MySQL driver. I read alot of posts in forums saying it might not be in my $PA...
2008 Aug 29
1
DB stop&start
Hi I need a script to automatically Starting/Stopping an Oracle 10g DB on CentOS5.2 64bit i.e lsnrctl start/stop db start/stop emctl start/stop dbconsole" Any help? -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you can't throw out a window." - Steve Wozniak -------------- next part -------------- An HTML attachment was scrubbed... URL: &l...
2009 Jun 08
2
Connecting to SQLServer
...''Source'' set_primary_key ''IDSource'' end s = [] s = Source.find(1) puts s.SourceName I was able to connect and the code behaves as expected. However when I try to use database.yml to specify the same connection information, I am unable to connect using script/dbconsole. #database.yml development: adapter : sqlserver mode : odbc dsn : Driver={SQL Server};Server=<server>;Database=<db> username : <uid> password : <pwd> When I start script/dbconsole, the error is D:\work\rails\job>ruby script/dbconsole Unknown command-line cli...
2005 Jul 07
5
The connection was refused when attempting to contact hostname:5500
hello i successfully installed oracle 10g on CentOS 3 i can login at http://hostname:5500/em but after restarting the PC all i get is "The connection was refused when attempting to contact hostname:5500" thank you very much for your help. rgds, Joeffrey
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
...ror: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task with --trace) ------------------------------------------------------------------------ Something is definitely wrong because when I try to run " script/dbconsole " i get an error also ------------------------------------------------------------------------ C:\wamp\www\demoproject>ruby script/dbconsole Couldn''t find database client: mysql, mysql5. Check your $PATH and try again. -----------------------------------------------------------...
2007 Dec 01
4
Tuning F7 (CentOS 5) DomU (64 bit) for Oracle 11g (10GR2) install
...2925.9.fc7xen on an x86_64 Server11G login: root Password: Module is unknown Fedora release 7 (Moonshine) Kernel 2.6.20-2925.9.fc7xen on an x86_64 Server11G login: However, ssh login from SNV76 Dom0 side works fine. It appears possible to bring up database:- $ dbstart $ORACLE_HOME and start dbconsole $ emctl start dbconsole But attempt to “ https://IP-DomU:1158/em/” by Solaris FireFox (or remote Windows Explorer) causes F7 DomU to hang. Any DomU screen appears to be frozen. Next:- # xm shutdown FDR7PVM I also found out that console login failure with message "Module is unknown"...
2010 Apr 21
12
Using AR.connection.execute(sql) -- messing with my string?
Does ActiveRecord.connection.execute(string) perform any modifications on the given string? If so, what quoting do I need to add? Here''s why: I''m trying to use execute(string) to load a stored procedure. I can hand-load the procedure without error (i.e. via dbconsole), but when I call the function below, it throws the error: ==== ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''DELIMITER $$ ==== FWIW, I''ve pawed...
2008 Jan 15
9
using postgres rails/rake fails
hello list, yesterday i installed a fresh rails installation with a proper upgrade of gem to version 1.0.1 i saw, there is still a gem package to support postgresql known as postgres-0.7.9.2008.01.09 on rubyforge, its the newest one of stable postgres support for ruby additionally i installed, of course, a the postgres database on my machine to C:\Programme\PostgreSQL\8.2 after setting up a new
2011 Jul 11
36
has_many and belongs_to association
Hi , I want to test the one below but I got the problem belongs_to :name, :class_name => "Phrase", :foreign_key => "name" in my test context "test"do should have_many :phrases end in language.rb belongs_to :name, :class_name => "Phrase", :foreign_key => "name" error is 1) Failure: test: check has_many and belongs_to
2010 Jan 28
5
files are missing in rails app
...e_ruby/1.8/i686-linux/ I could created the rails application, but files are missing. Config - boot.rb, database.yml, environment.rb and routes.rb Public - 404.html,500.html,dispatch.fcgi,favicon.ico,index.html,422.html, dispatch.cgi and dispatch.rb Script - about, console, dbconsole, destroy, generate, plugin, runner,server Test -test_helper.rb I am getting below error on while creating the app. No such file or directory - /usr/bin/../lib/rails_generator/generators/applications/app/../../../../../fresh_rakefile Please help Attachments: http://www.ruby-forum.com/attach...
2009 Nov 03
12
Mysql::Error: query: not connected
Hi there! I am PHP developer and trying to learn ROR. Currently I am building my first Rails website (OS X Snow Leopard, TextMate) and decided to switch from sqlite to mysql. After many-many hours of searching the internet I managed to install mysql gem. Now I get this error when I try to run rake migrations: rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
2010 Jan 28
1
rails files are missing
...e_ruby/1.8/i686-linux/ I could created the rails application, but files are missing. Config - boot.rb, database.yml, environment.rb and routes.rb Public - 404.html,500.html,dispatch.fcgi,favicon.ico,index.html,422.html, dispatch.cgi and dispatch.rb Script - about, console, dbconsole, destroy, generate, plugin, runner,server Test -test_helper.rb I am getting below error on while creating the app. No such file or directory - /usr/bin/../lib/rails_generator/generators/ applications/app/../../../../../fresh_rakefile Please help -- You received this message because you ar...
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
...fig/locales/en.yml create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/console create script/dbconsole create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/performance/request create script/process/reaper create script/process/spawner create script/process/inspector...
2011 Apr 19
5
Check that my sqlite database populated
Hello guys, I''ve made a very simple application following the footsteps of http://guides.rubyonrails.org/getting_started.html. I managed to insert my objects (i checked the existence of inserted objects through the rails console with a simple Foo.all ) but if I run sqlite3 from command line and then run .databases I can''t see any database created. I thought I could see the
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
...s/session_store.rb create config/environment.rb create config/boot.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/console create script/dbconsole create script/destroy create script/generate create script/runner create script/server create script/plugin create script/performance/benchmarker create script/performance/profiler create test/test_helper.rb create test/performance/bro...
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
2011 Aug 29
32
Weird assignment problem, very confused :(
Hey, I have the following line in my controller: User.create(:email => "fuuu-+RB1Aph5k6s@public.gmane.org", :password => ''asldfkjadsfadsf'', :ip => request.remote_ip) my IP is 127.0.0.1 - now User.find_by_ip(''127.0.0.1'') returns 0 records although User.first contains ''127.0.0.1'' if I change it to: User.create(:email =>