similar to: Re: mySQL command line within rails - access denied?

Displaying 20 results from an estimated 600 matches similar to: "Re: mySQL command line within rails - access denied?"

2005 Oct 13
2
Re: mySQL command line within rails - access denied? [solved]
--- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote: ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> > Have you
2004 Jul 19
3
why won't rq draw lines?
I've been trying to draw quantile linear regression lines across a scatterplot of my data using attach(forrq) plot(PREGNANT,DAY8,xlab="pregnant EPDS",ylab="postnatal EPDS",cex=.5) taus <- c(.05,.1,.25,.75,.9,.95) xx <- seq(min(PREGNANT),max(PREGNANT),100) for(tau in taus){ f <- coef(rq(DAY8~PREGNANT,tau=tau)) yy <-
2006 Jan 18
6
Ruby and Flash?
Hi there, I have an idea for a game I want to build, but it requires Flash as the presentation layer (I''d want to do the back end in Ruby running on Rails.) I have not been able to find any info on the integration of the two, and someone suggested asking here. Any info would be appreciated. Any links to examples would be great too. Thanks - please make sure you respond to me directly
2010 May 13
1
What's data() for?
Hi there, >library(faraway) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6 0.627 50 1 2 1 85 66 29 0 26.6 0.351 31 0 >data(pima) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6
2006 Jul 20
3
Instant Rails not finding database
Hey there I''ve got instant rails installed, and it''s phpmyadmin can find the database at the ascribed mysql port (3210) ...however, altho i have got my ''depot_development'' db in there (along with the other dbs that ship with instant rails)... the rake script from the instant rails command interface cant find ''depot_development''. Looking at
2006 Apr 11
0
Problem using generate/scaffold and FireRuby
Hi to all, I am trying to use "ruby script/generate scaffold product". I always get the message "uninitialized constant CHARACTER_SET". I have a products table in a Firebird database called depot_development.fdb. Here is my config file : > common: &common > adapter: firebird > host: localhost > username: SYSDBA > password: masterkey >
2006 Mar 28
3
I hope this is not spamming
I do not want to get the reputation as a spammer and be hated by the ruby and rails community??! But where are the best forums for help with rails and ruby please, and which ones are the most user freindly? I have a little tech problem: I have a lap top running xp home service pack two and I have installed ruby 1.8.2 and rails 1.0.0 I also have mysql 4.1.16-nt via tcp/ip running on the laptop, so
2010 Jul 09
1
Appropriate tests for logistic regression with a continuous predictor variable and Bernoulli response variable
I have a data with binary response variable, repcnd (pregnant or not) and one predictor continuous variable, svl (body size) as shown below. I did Hosmer-Lemeshow test as a goodness of fit (as suggested by a kind “R-helper” previously). To test whether the predictor (svl, or body size) has significant effect on predicting whether or not a female snake is pregnant, I used the differences between
2006 May 06
4
Scaffold Uses Wrong Host for MySQL user
I''m following the example Depot app in Agile Web Development with Rails. The scaffold fails because it is not using the correct host for the user. Here is the error that the scaffold emits: Access denied for user ''jimmy''@''%'' to database ''depot_development'' The MySql user ''jimmy'' was created with the host of
2006 May 17
1
Table ''depot_development.sessions'' doesn''t exist
I am following the Agile Web Development with Rails pdf book, when I run the store application it gives me the "Table ''depot_development.sessions'' doesn''t exist" error message. How can I fix it? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
2006 Feb 28
3
Agile Web Development Example Application Question
I''m new to Ruby and to fairly new to programming. I''ve been working through the "Agile Web Development with Rails" book, and I''m stuck on page 73 of the print version. The book''s online errata directed me here with my questions. I''m running Ruby 1.8.3 with MySQL 4.1.8 on OSX 10.3.9. I''ve created the scaffolding for Admin controller
2004 Aug 06
1
Limiting stream bandwidth
I am trying to limit the bandwidth per stream so that I can stream 2 mp3 connections from my box. I have 256 upload speed. I am using icecast 0.3 and ices 2. I made the changed listed below, restarted everything but it still seems to be streaming at max bandwith. Is there anything, besides moving to ogg vorbis -- it will happen when I have time to write the script to convert the 1000s of files
2006 Feb 28
10
Scaffold command, how and what may be wrong?
hi everyone. I am learning RoR and just recently purchase the agile wed dev on rails. i am still at the beginning of the book trying to create the scaffold for the depot_development database. Everytime i run the generate scaffold products admin, i recieve the "before building the scaffold, try to create a table for model products" etc... a few questions: 1. How does ruby know that
2006 Jun 24
2
Migrations problem with Agile Rails book
I am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing an Order" section. When I run the migrations I get the following error. rake db:migrate (in /Users/balaparanj/work/depot) -- execute("alter table line_items \n add constraint fk_line_item_products \n foreign key (product_id) references products(id)") rake
2005 Dec 02
3
yaml Error When Trying to Generate Scaffold
Hello there, I am a Ruby on Rails newbie, and have been reading the book, "Agile Web Development with Rails", by Dave Thomas. Seem to be stuck on page 57, when trying to invoke "ruby script/ generate scaffold Product Admin"... My depot/config/database.yml file''s contents are: development: adapter: mysql database: depot_development socket:
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
2003 Aug 17
1
pre-newbie - some basic questions...
Hello All, Been completely obsessed for the last two days with VoIP and Asterisk - running on 2 hours sleep and coffee - sorry if this is a little scattered... Okay, I've got a small start-up company that installs traditional PBX (Nortel mainly) systems, data network infrastructure, commercial audio/video, residential audio/video/voice/data and we do lighting control systems... I've
2006 Jul 22
2
Error: Before updating scaffolding from new DB schema, try..
Hi, I''m going through the Depot tutorial in the book "Agile Web Development with Rails" and I can''t even get past the very first step. I''m getting the following error: "Before updating scaffolding from new DB schema, try creating a table for your model (Product)" when I try to run "ruby script/generate scaffold Product Admin. I have a table
2006 Jan 14
1
(ActiveRecord::AdapterNotSpecified) Error
All, I am on Mac OS X 10.4, went through all the installation steps for mysql and ruby on rails. Now, I am getting this error when trying to start webrick or when trying to create the tables: /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ connection_adapters/abstract/connection_specification.rb:73:in `establish_connection'': development database is not configured
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 --