Displaying 20 results from an estimated 9000 matches similar to: "Problem with creating a sample application."
Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again.
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
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys,
I''m having an issue with deploying my application and the mysql2 gem.
I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3.
On my local machine in development environment the application runs
just fine. But when I want to deploy it on our production server I get
an error message from passenger.
"Please install the mysql2 adapter: `gem install activerecord-mysql2-
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
2007 Feb 27
0
Error Installing MySQL Native Bindings with DarwinPorts
Hey Folks,
I''m just getting up and running, using DarwinPorts and encountered a
MySQL error when trying to install. Would appreciate any insight any of
you might be able to offer to resolve this. I''m trying to install the
MySQL Native Bindings for a performance boost on the MySQL adaptor.
The specific tutorial I''m following is as follows:
2009 Jul 12
3
Installing mysql with macports
Not sure if this is off topic, but there doesn''t seem to be an obvious
place to ask this question.
I am trying to use MacPorts to install mysql.  I have xcode 3.0 and
x11 XQuartz 2.1.6 installed.
$PATH:
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/
local/bin:/usr/X11/bi
When I sudo port install mysql5-server
I receive:
--->  Configuring mysql5
Error: Target
2011 Apr 21
1
GEMFile gem 'mysql2' and mysql version is 4.1.2
Hi all
I have a Gemfile with this value
gem ''mysql2''
but when I  run this command ''$ bundle install'' on my host they said
that
"The command "bundle install --local" seems to be returning mysql2
dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ (
refer: https://github.com/brianmario/mysql2/issues/109 ) whereas the
server mysql
2013 May 15
1
staging deploy connected to production database
I''m not sure why but I have both a staging and production deploy using
the ''capistrano/ext/multistage'' gem. I set staging to the default:
set :stages, ["staging", "production"]
set :default_stage, "staging"
It deploys correctly to the right path:
#deploy/staging.rb
set :deploy_to, "/home/myuser/public_html/mysite/"
But it
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to
upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby
versions separate.
After some initial difficulties with MySql2 gem installation,
following <a href=http://rorguide.blogspot.com/2011/03/installing-
mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7
installed.
My problem
2006 Feb 11
1
Fastcgi and mysql woes
Hi,
I have been heck of a time to get mysql and fastcgi to
work properly on my Mac OS X  box.  I keep getting the
following error:  Can''t connect to local MySQL server
through socket ''/opt/local/var/run/mysql5/mysqld.sock''
(13)
I have even tried commenting out the "socket" option
in my database.yml but it still gives me the same
error.  I''m ok when I
2007 Jan 17
1
error when trying to create mysql database
hey guys
My macbook pro 17 had to be taken back to apple beuase of a dud screen,
so have had to install from macports again.
When i attempt to create a mysql database with this:
mysql5 -u root depot_development
i get this:
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/opt/local/var/run/mysql5/mysqld.sock'' (2)
any ideas?
cheers!
Adam
--
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi
I am been trying in vain to auto-gen models by reverse-engineering
mysql using RMRE. It complains mysql2 gem missing but as seen in my
Rails environment below, it is there.
Here''s my Rails environment and RMRE error. Experts... please help!
Thanks a ton in advance!!
===
Ruby version	1.9.2 (x86_64-linux)
RubyGems version	1.3.7
Rack version	1.2
Rails version	3.0.3
Active Record
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
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 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
2011 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got
error
An error occurred while installing mysql (0.3.7), and Bundler cannot
continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before
bundling.
Please help me i want to codding with rails :)
-- 
Posted via http://www.ruby-forum.com/.
-- 
You received this message because
2008 Apr 11
7
problem with package function and removing rpms
I have a recipe that I''m ensuring that I remove rpms that may be
installed by CentOS/RHEL before I install the MySQL.com rpms.
the recipe and logs are listed below.  For testing I have mysql-* rpms
already installed.
Is there a method to force specific order to run the recipe?
What am I doing wrong?
# install mysql rpms (not CentOS/RHEL vesions)
# PROCESS:
# - removes any CentOS/RHEL
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
>
2012 Aug 14
1
NoMethodError: undefined method `accept' for nil:NilClass
Here''s the trace,
NoMethodError: undefined method `accept'' for nil:NilClass
from 
/Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in 
`to_sql''
from 
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
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?