similar to: Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again.

Displaying 20 results from an estimated 600 matches similar to: "Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again."

2012 Feb 08
3
An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
error information occurred when I execute "rails new demo1 -- database=mysql" MY environment below: Mac OS 10.4.11, Ruby 1.8.7 Rails 3.2.1, Gem 1.8.15 mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using readline 6.2 mysql (2.8.1) Please help me, thx! more detail message as follows: Installing mysql2 (0.3.11) with native extensions
2009 Jun 08
2
Connecting to SQLServer
New to rails. Installed rails on my XP desktop, and setup my first app that will use an existing SQLServer database. I am able to connect to SQLServer using odbc with following code. require ''rubygems'' require ''ActiveRecord'' ActiveRecord::Base.establish_connection( :adapter => ''sqlserver'', :mode => ''odbc'', :dsn
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
I''m trying to run " rake db:migrate " and im getting an error back: ------------------------------------------------------------------------ C:\wamp\www\demoproject>rake db:migrate (in C:/wamp/www/demoproject) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task
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
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
2011 Jan 23
0
Bundle installs/Cannot run dbconsole
When I run bundle install from the command line I get the following below installed in my project directory under sqlite3--with-sqlite3lib Folder. Fetching source index for http://rubygems.org/ Installing rake (0.8.7) Installing abstract (1.0.0) Installing activesupport (3.0.3) Installing builder (2.1.2) Installing i18n (0.5.0) Installing activemodel (3.0.3) Installing erubis (2.6.6) Installing
2006 Jul 25
3
mysql5 in "centosplus" ?
Hi, I just noticed there are mysql5 packages in the centosplus repository since a few days ? From where does they come from ? -- Martin
2007 Jun 08
1
Upgrading mysql5 from centosplus
Hello List, I have a regular install of centos 4.4 i386 (lately updated to 4.5), a new application needs mysql > 5.0.x The natural way to do this was: yum --enablerepo=centosplus update mysql However, after all the dependency / transaction checks.. i get this.. Dependencies Resolved ============================================================================= Package Arch
2011 May 21
1
Problem with creating a sample application.
Hi Community, I''m new to rails. I was trying to install and run a sample ruby on rails application with database as mysql. I have followed the steps for the installation. However when I start the "rails server" I get the below error. "Could not find gem ''mysql2 (>= 0)'' in any of the gem sources listed in your Gemfile." I have the below version
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:
2010 Jan 28
5
files are missing in rails app
I''ve built the slackware packages of rails. rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8 RUBYLIB : /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/ruby/site_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 -
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks. I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate: > $ rails generate > /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777 >
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi, My system has the following : MacOs Leopard Rails 3 Ruby 1.9 Mysql 5.1.58 mysql2 ruby gems My problem is that when i give "rails server", the task aborts with the foll error rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
2012 Jan 14
2
mysql2 error in production
As I need to upgrade a Rails app to 3.1 , I am trying to deploy it on a remote production server ( Linux Debian, after installing Rails 3.0.9 under rvm with all needed gems including mysql2 version 0.2.18 used by the app) after deployment, starting the app, I get a Load error w mysql2... ** [out :: www.mydomain.com] /var/www/vhosts/mydomain.com/rails/
2013 Jan 29
0
mysql installation in Windows 7
I have Windows 7. I am trying to get the gem installed for MySQL Server 5.5 So, I get the zip file for gem from Brian Mario’s repository on github mysql2, extract it in the new mysql2-0.3.12b5 folder and start the procedure as follows. As seen below, I get the error “file ''lib'' not found” at the end. I tried many times, got the same problem. Anyone has a solution to this?
2011 Jun 21
2
Problem launching WEBrick in Rails
Hey everyone, i''m super new to Rails and excited to get going! I''m following the Ruby on Rails Essentials 3 tutorial from Lynda very closely and came across an error at the step when launching WEBrick. MY Setup: I am on OS X. I have installed the MySQL client and ran it from my OS X system prefs. I double checked my gems and mysql (2.8.1) and mysql2 (0.3.6, 0.2.11) are BOTH
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my pc. Do I need to ran something in the ruby to use MySQL? C:\>rails new MySQLRestaurant --database=mysql C:\>cd MySQLRestaurant C:\MySQLRestaurant>rails generate scaffold review poster:string date:datetime ar ticle:text C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
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`
2006 Jun 02
14
Which is better for production: MySQL5 or PostGres8.1?
I''m coming from an Oracle and SQL Server background. I''d like to use OpenSource for my next RoR project. MySQL5.x and Postgres8.1 seem to be the most popular. I''d like some comments on which would be the better choice for a production environment and why. Here are my initial concerns in order of priority: 1. Works well with RoR. ( migrations, etc) 2. Stable enough
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys, I''m new to learning RoR and I try to do a database with mysql and I have a problem. First I create a a folder in my desktop and after with command in the terminal on Mac Os Mavericks I create a project: rails new vota_prato -d mysql after I will try to create a database with this command: $ rake db:create and I have this error: MacBook-Pro-de-Romenig:vota_prato romenig$ rake