search for: 28000access

Displaying 13 results from an estimated 13 matches for "28000access".

2007 Mar 11
5
Mysql::Error #28000Access denied
...sified = Classified.find(params[:id]) end def new end def create end def edit end def update end def delete end end</code> 11. Point page to <a href="http://localhost:3000/classified/list">http://localhost:3000/classified/list</a> 12. ERROR #28000Access denied for user ''root''@''localhost'' (using password: NO) I don''t get it, if rake can setup the tables then the rails must be communicating fine w/ MySQL ?? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----...
2006 May 15
3
Mysql::Error in RecipeController#new
Hi, I''m doing the following tutorial :http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3 but when I''m trying to access the database I get the following error #28000Access denied for user ''root''@''localhost'' (using password: NO) That''s strange because the database.yml file is defined with a password : development: adapter: mysql database: cookbook username: root password: xxxx host: localhost test: adapter:...
2006 May 03
3
mysql error
Hi, I am starting new on rails. Tried my first example got this error #28000Access denied for user ''root''@''localhost'' (using password: NO) Please do suggest as I am having this problem on one of my system but it works fine on the other.Really confused. Thanks Rohan -- Posted via http://www.ruby-forum.com/.
2006 May 06
1
#28000 Access denied...HELP!
I''m trying to run the "ruby script/generate scaffold Post Admin" in webrick, and I''m getting the infamous: #28000Access denied for user ''root''@''localhost'' What can I do to fix this???? Please help! (I''ve tried resetting my password - no luck) -- Posted via http://www.ruby-forum.com/.
2006 May 03
6
Scaffold Generation Problem
...s/admin create app/views/admin/user create test/functional/admin dependency model exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/user.rb create test/unit/user_test.rb create test/fixtures/users.yml #28000Access denied for user ''root''@''localhost'' (using password: NO) -- Posted via http://www.ruby-forum.com/.
2006 May 21
3
First try with lighttpd
...age 457 in the Agile Rails book for instructions about configuring the rails app for lighttpd and wrote the config file at the bottom of this email. I started the Rails app with "lighttpd -f config/lighttpd.conf". When I tried to view the site in a browser I saw an unexpected error #28000Access denied for user ''root''@''localhost'' (using password: NO) In my database.yml file i am not using root for the mysql user for either development or production. Does lighttpd not know to look in database.yml? Thanks, Peter server.port = 80 server.bind = "12...
2006 Mar 09
3
ONLamp.com Tutorial Trouble
...0/rails.html?page=3>. I am 3/5 down the page where it says: "Open a browser and navigate to http://127.0.0.1:3000/recipe/new. You should see something like Figure 32." Instead of a page like Figure 32, I get an error that looks something like this: "Mysql::Error in Recipe#new #28000Access denied for user ''root''@''localhost'' (using password: NO) RAILS_ROOT: ./script/../config/.." A friend told me that the latest version of MySQL handles passwords in a way that is incompatible with the current RoR release. He suggested that I configure MySQL t...
2006 Dec 27
2
DB-less rspec_on_rails
...eas? bye, Tobias ** Execute spec:models /usr/bin/ruby1.8 -I"/var/lib/gems/1.8/gems/rspec-0.7.5/lib" "/var/lib/gems/1.8/gems/rspec-0.7.5/bin/spec" "spec/models/person_spec.rb" F 1) Mysql::Error in ''This sample spec should work without a database'' #28000Access denied for user ''root''@''localhost'' (using password: NO) Finished in 0.026762 seconds 1 specification, 1 failure rake aborted! Command failed with status (1): [/usr/bin/ruby1.8 -I"/var/lib/gems/1.8/gems...] /usr/lib/ruby/1.8/rake.rb:722:in `sh'' /u...
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
...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'' (using password: NO) I''m pretty sure that the MySQL database priviliges are set correctly, and also that my yml file is ok. The entire response that I get; Depot> ruby script/generate scaffold Product Admin e...
2007 Oct 06
6
Instant Rails mySQL Error
...Admin exists app/controllers/ exists app/helpers/ exists app/views/admin exists app/views/layout exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/product.rb identical test/unit/products.ywl identical test/fixtures/product.yml #28000Access denied for user ''root''@''localhost'' (using password: NO)". I have done this several time and continue to get the same error. Is there anyone that can chat with me on an instant messenger or live chat to help me with my problem, if possible. --~--~--------...
2006 Aug 01
1
Ruby + MySql
Hello. I am having trouble connecting to a mysql database using ruby. I edited my config file, created the model + controller, but it will not connect. I get the following error: #28000Access denied for user ''root''@''localhost'' (using password: NO) The problem is, I did include a password in the config file: development: adapter: mysql database: cookbook username: root password: iputpasshere host: localhost # Warning: The database defined...
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
.... And if I can''t get this to work I suspect more people will have the same issues. There seems to be too many variables to address. I have winXP, I have ruby and rails all working OK and have done the first "hello world" stuff. Now when I try to connnect to mySQL I get "#28000Access denied for user ''root''@''localhost'' (using password: NO)". I''ve tried everything, resetting, new password, restarting server, mySQL, re-install of mySQL. All to know avail. Having bought the book and gone to all this trouble to get something worki...
2007 Oct 03
6
problem with database.yml
Hi all! I am completely new to RoR and I have runned into a problem. I have followed an online course for RoR on Lynda.com and everything has worked out well until I should change to database.yml file. Instead of the tutors text "host: localhost" I get "socket: /tmp/ mysql.sock" in development enviroment I thought I would give it a try to continue anyway but when I later try