similar to: Rails] Re: Mac OS X and Uninitialzed Constant Mysql

Displaying 20 results from an estimated 40000 matches similar to: "Rails] Re: Mac OS X and Uninitialzed Constant Mysql"

2006 May 14
3
Mac OS X and Uninitialzed Constant Mysql
Development Platform: ruby 1.8.4 Rails 1.1.2 mysql "gem" 2.7 Mac OS X (10.4.6), 64-bit Mysql 5.0.19-standard (64-bit) Lighttpd, 1.4.11 I''m trying to startup a simple test rails app against mysql. Rails starts up fine and my pages render successfully, until a DB access is made. I''m getting a "uninitialized constant Mysql". I''ve searched, but
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All, I am working through the ''depot'' sample application from the "Pragmatic Programmers" book on my powerbook. I was going through the install process on http://hivelogic.com/articles/2005/12/01/ ruby_rails_lighttpd_mysql_tiger and it seemed to work fine. But when I try to create the first table, I get the following error, and I have no idea what this means. Any
2016 May 03
1
R-3.2.5 Mac OS X package
On 5/2/16 4:25 PM, David Winsemius wrote: >> On May 2, 2016, at 3:45 PM, Mick Jordan <mick.jordan at oracle.com> wrote: >> >> When is the R-3.2.5 binary for Mac OS X likely to show up? > Where did you look? I see both Mavericks and SnowLeopard fork binaries with or without r.app GUI at http://r.research.att.com/ > > I've been using the 3.3.0 RC for a while with
2016 May 02
3
R-3.2.5 Mac OS X package
When is the R-3.2.5 binary for Mac OS X likely to show up? Mick Jordan
2005 Dec 15
1
uninitialized constant Mysql
I''m trying to get RoR working, and followed this tutorial: http://wiki.rubyonrails.org/rails/pages/Tutorial however - something''s wrong with the mysql-connection. When i run "rake" i get this error: <code> $ ~/rails $ rake (in /var/www/localhost/htdocs/rails) rake aborted! uninitialized constant Mysql ./Rakefile:151 </code> I don''t belive
2005 Oct 13
0
Re: mySQL command line within rails - access denied?
-- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote: ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< > You need to set
2006 Jul 13
2
Intel Mac, Rails, MYSQL - access denied
Hi, Nuby on Rails here trying to bring up an existing app on a new installation. The whole ruby/rails/mysql/lighty installation was done per the much touted "hivelogic article" that runs through all the steps. I am running into a permission error when I try to do a rake migrate to set up a session database needed by this existing app. Extracted from the trace... ** Execute
2006 Jan 08
6
ruby/rails/mysql install on mac os x
after successfully installing everything as described in this article: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger i attempted the final step in the process of removing the two anonymous accounts for my new mysql install, and to assign a password to the administrator account. however, when following the advised commands below: shell> mysql -u root mysql>
2011 May 20
2
Rails DB defaults to utf8 for mysql -- but unicode for postgresql
Hi, Creating a new Rails application with -d postgresql sets the encoding in the database.yml to unicode Creating a new Rails with -d mysql sets the encoding to utf8 Any ideas why this difference? I''ve been having problems with encoding due to localization, accents, json and what no. I thought I was using utf8 and not unicode. Would this have any impact? If this would be an issue?
2007 Nov 05
3
How to get rails command to default to MySQL instead of SQLite?
I''m running OS/X 10.5 Leopard. Although I have MySQL installed the rails command creates a database.yml file that defaults to SQLite. How do I get it to default to MySQL instead? TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
Hi, A newbie in the RoR world, I''m already more or less stuck when generating the scaffold for my first tutorial project ... When I try to generate scaffold code for my version of the ''depot'' application from the ''Agile rails ...'' book, I receive the following error: #28000Access denied for user ''bo''@''localhost''
2009 Dec 06
5
Using MySQL with Rails
If I want to use MySQL instead of sqlite3 when creating a Rails application, apart from creating the application with the -d mysql and configuring the config/database.yml file is there anything else I did to do/download? Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Dec 23
2
rails 2.2 connection to MySQL
I have been trying to connect to MySQL thru rails. Initially I had rails 2.1.2 and upgraded to rails 2.2 to use RestAPI in sproutcore. Once I have upgraded my rails version to 2.2, I have been getting this error. All I did is the following: 1. rails addressbook 2. cd addressbook 3. script/generate scaffold Contact first_name:string lastname:string 4. rake db:migrate I also change the
2006 Jan 01
5
db connection problem: Mac X, MySQL 5, Rails 1
This has taken me quite a bit of time to sort out. The problem is this: Whenever my Rails app tries to query the db, it hangs forever. Having searched 5000+ emails to this group, I''ve not found an answer to my problem. I''d be happy to turn on logging, but can''t seem to get the Mac install of MySQL to boot up with the --log option set. I tried running mysqld and
2006 Apr 12
5
Rails talking to MySql (cygwin on Windows XP)
Hello fellow RoR users, I am a newbie and I thought RoR is so easy to set up and that I would be saving so much time -- but I am still waiting to save time because I simply couldn''t get Ruby/Rails to talk to MySQL (5.0.18) at all. Here are the steps that I have examined: 1) I look at dabatbase.yml and put in the right information to talk to the database I have set up (the
2006 Apr 04
6
connecting to mysql on OS X 10.4
i have looked in the archives, i have the _agile_ book, and its links right in front of me, and i have done pretty much everything i can think to do except start from a fresh OS install, and yet i still can not get Rails to talk to MySQL. when i try to do this: 237:/Library/WebServer/Documents/Rails/depot chris$ ruby script/ generate scaffold Product Admin i get this output:
2006 Apr 05
3
Rails 1.1 and webrick/mysql problems
i just upgraded to rails 1.1 yesterday and since then i could?nt make it work with mysql, for example i have my database "todo" and one table "todos", i create the app and generate the model but when i try to generate the scaffold with "ruby script/generate scaffold Todo Todo" i get this error " error Before updating scaffolding from new DB schema, try
2016 Mar 12
2
R-3.2.4 Mac/Linux different in < on characters
Linux: > x<-c("0","1");y<-c("a","-1"); x<y [1] TRUE TRUE Mac: x<-c("0","1");y<-c("a","-1"); x<y [1] TRUE FALSE On both systems, LC_COLLATE/LC_CTYPE/LANG are set to en_US.UTF-8 In Java,FWIW, I get the Mac answer if I use String.compareTo and the Linux answer if I use Collator.compareTo, but
2006 Aug 01
7
MySQL binding problem on Max OS X 10.4
Hi all. No matter what I do I can''t get rails to see my MySQL database. All details are below. I really appreciate any assistance. Thanks!!! DETAILS ------- 1. I''m using Rails 1.1.4 with Ruby 1.8.4 on Mac OS X 10.4.7. I have installed the MySQL bindings following the instructions here:
2007 Oct 06
6
Instant Rails mySQL Error
I have tried everything in my power to get this program up and running and it is not working for me. I have installed RoR on my Windows XP machine. I have Instant Rails and Ruby on Rails and I am using Instant Rails to connect the mySQL database to Ruby on Rails. It is not working. Everything works fine except when I create a scaffold it gives me an error in mySQL. The error reads, ">