similar to: Lost Connection to MySQL

Displaying 20 results from an estimated 3000 matches similar to: "Lost Connection to MySQL"

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 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 Jun 06
15
error working through Agile !!!
Hi everyone, I''m working my way thru the ''Depot'' project from Agile Web Development with Rails. I got to the bit where I type: ruby script/generate scaffold Product admin And I get the following error: error Before updating scaffolding from new DB schema, try creating a table for your model (Product) ( on the last line ! ) Now I have followed everything as
2006 Apr 03
18
newbie generate scaffold
Hi Guys First time on the list and pretty new to the rails way of doing things, yup I know sorry.. another newbie! anyway, apologies out of the way, this is the problem I am having... I have purchased the "Agile Development with Rails" book and have just started running through the ''Depot'' demo application. I have got to page 57... I have my project files all
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 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''
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, ">
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale
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
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
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
2006 Feb 26
16
MySQL GUI for OS X
G''day everyone, I''ve got Rails up and running, but am having trouble finding a stable MySQL client for OSX. I was looking at the ''Creating a weblog in 15 minutes'' screencast from rubyonrails.org - what MySQL client is David using? I''ve found the MySQL clients (Administrator / Query Browser) to be highly unstable and rather pathetic under OSX. If
2007 Oct 02
11
rake db:migrate fail! bad descriptor
Dear All, I am just getting into Ruby on Rails, after successfully failing at getting any other programming language to work locally. RoR appears to be a repeat! One problem I keep running into is getting a database up and running. I''m working out of Windows XP. I installed MySQL, it works, runs, will create tables etc. BUT, when I do rake db:migrate...it fails and tells me I have a
2006 Jul 31
2
Problem with dropping the column_id column...
hi there. Has anyone ever have this happen to them where they did one of these raw ''execute fk_'' sql commands in their migrations (like seen in the depot app in the agile rails book when they were building the line item active record...anyways, now i can''t get those foreign keys to delete, nor can i even get the column_id to delete too..so weird.. humm..just
2006 Feb 05
8
Agile Rails book: depot problem
I recently finished the first part of the "Agile Rails" book. But, the depot doesn''t completely work as it should. I still have 2 problems: I will explain them in 2 threads. The first one is: I can''t destroy products (I can only creat and update them). When I try to delete a product --> http://localhost:3001/admin/destroy/3 I get this error message:
2006 Mar 16
10
Substruct Open Source E-Commerce Platform
Finally it''s here :) The Rails app to do battle with the likes of Miva Merchant and OS Commerce! I''m releasing Substruct 0.051 into the wild. More information here: http://dev.subimage.com/projects/substruct Please check it out! I''d love to hear all of your thoughts - and I''m looking for contributors! -- seth at subimage interactive
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
2008 Jun 03
11
rake db:migrate not working
When I run the rake db:migrate command, I get this: C:\testror\depot>rake db:migrate --trace (in C:/testror/depot) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! 182: Le systÞme d''exploitation ne peut pas exÚcuter %1. - c:/ruby/ lib/ruby/gem
2006 Jan 18
5
access denied problem
Hello I''ve started working through the book "Agile web development with Rails" and so far everything has been great. I''m on page 56, 57 trying to create the admin tool for the example project "Depot". I''m on OS X Panther 10.3.9. I have checked the Errata on the website and tried some of the suggestions there, but nothing has worked. When I
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and going through the whole project. well i am now stuck on creating the scaffold. I have been messing with settings for awhile now. here is the error: koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency