Displaying 20 results from an estimated 10000 matches similar to: "#28000 Access denied...HELP!"
2006 May 03
6
Scaffold Generation Problem
Greetings all,
I''m sure there is probably a very obvious reason for the following
problem. However, after much hair pulling, I am just not seeing it yet.
As you can see from the trace below, I am not able to complete scaffold
generation due to some problem between rails and mysql. I double
checked MySQL to make sure both my Ruby user and Root user have full
rights to the database.
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 May 09
4
Agile Web Development with Rails
Hi,
I''m new to Ruby, Rails and MySQL...
Before Dropping my database, I went back to a previous Grant problem.
On page 54, there are three create database commands...these all worked
fine for me.
I then tried the following Grant command:
Grant all on depot_development.* to ''dave''@''localhost'';
I got back the following error message:
Error 1133 (42000):
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 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2006 May 08
8
RSS Feed / xml.link problem?
I''m having an odd problem. I''m trying to create an RSS feed (working off the
Recipe), but "xml.link" generates error about "Can''t convert Hash to
String". From the error trace, it *looks* like it''s calling the a fileutil
''link'' method (as in, filesystem symbolic link) - even xml.tag! generates
this error.
Er, how do I make
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 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 Apr 20
8
generate scaffold not generating views
Hi!
Sorry for the newbie question...
I''m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
2006 Jul 06
5
Generate scaffold failing
Hi all,
Got a Win2k3 Server box (but this has been verified not to work also on
WinXP Pro SP2) with:
Ruby 1.8.2
Rails 1.1.4
PostgreSQL 8.1
The generate\scaffold script fails to generate the files inside the
app/model/views directories. It actually generates the view directory
but fails to produce any files.
The same thing works perfectly when I''m targetting MySQL.
So is this normal
2007 Mar 11
5
Mysql::Error #28000Access denied
I''m on MAC OSX and I set up my environment as described here:
http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger?status=301
This may be too old and I just realized that, but before I attempt
Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X:
http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
Okay, I purchased a book "Rails
2006 Jun 26
5
Multiple choice questions scaffold?
Hello all,
I''m in my second day of working through the various Ruby on Rails
tutorials, I''m already hugely impressed by the potential speed of
developing database driven sites, especially via the use of scaffolds.
Which brings me on to my first question (apologies if it''s a simple one,
but like I said it is only my second day!)
I am aiming to develop an application
2006 Jun 22
2
rails on Oracle 10g - missing controller ?
I am trying to generate my first scaffold but I am getting a 500 error
from http://127.0.0.1:3000/foo . Below is the information about my
system, as well as the commands I am typing. I have also included the DDL
( Oracle 10g ). I am mid way through chapter 6 of "Agile Web Development
w/ Rails". Why aren''t there any files under app/controllers/ ?
C:\tmp\rubyWork>ruby
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I
encounter an ugly error when building a scaffold. Here is my
environment
Dev system:
- Windows XP
- java version "1.5.0_06"
- MySQL java version "1.5.0_06"
- Ruby 1.8.4
- Ruby Gems 0.9.0
- Gem install mysql
Successfully installed mysql-2.7.1-mswin32
Installing ri documentation for
2005 Oct 25
2
generate scaffold ignores controller parameter
Since I upgraded from Rails 0.13.1 to 0.14.1 "generate scaffold <Model>
<Controller>" doesn''t take any notice of the controller parameter. Anyone
else suffering from this? E.g.:
C:\Ruby\work\test>ruby script\generate scaffold User Admin
exists app/controllers/
exists app/helpers/
create app/views/users
exists test/functional/
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
2005 Dec 17
3
Can scaffold generate listboxes in views? I''ve been unsuccessful.
I''ve created several different Rails applications but I''m running
into the same trouble with each one. Lets say I create an app called
Test. I type ''rails test'' and it generates the directory for me.
Now I edit my database.yml file. Then I create a database with
Postgresql by typing createdb test. Now I go into Postgresql by
typing ''psql
2006 Mar 28
2
Problem with generating a scaffold with an Oracle DB
Hi all,
I have confgured my oracle application with the Oracle Express
Production release database. This all is configured well and tested(I
can see that he founds the database). However, when I generate a
scaffold application there is no view for the CRUD functions created for
the application.
Below is listed what is generated for me for a Products table:
E:\workdir\ruby\depot>ruby
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: