Hi! I had a question on rake. I am going through Mr. Lenz’s book, and
been coasting through successfully until I hit the section in Ch. 6 on
testing. At the command line, in my application root, I typed: $ rake
My error message was:
daniel-ahns-power-mac-g5:~/Sites/shovell dannyG5$ rake test:units
#28000Access denied for user ‘root’@‘localhost’ (using password: NO)
(See full trace by running task with --trace)
It seems as if rake is trying to communicate with mysql – i put a
on mysql, though my username is still root. Do I have to log on to
somehow provide rake with my mysql password so it can successfully test?
How do I do that?
When I used $ rake db:migrate, everything worked fine, so I’m confused,
my mysql knowledge is at a beginner level.
I’m on a G5 OSX 10.4.10, running Ruby 1.8.6, rails 1.2.3, mysql 5. Any
would be greatly appreciated!
“Let not your heart be troubled; you believe in God, believe also in Me.
My Father’s house are many mansions; if not, I would have told you. I go
prepare a place for you. And if I go and prepare a place for you, I
come again and receive you to Myself; that where I am, you may be also.
where I go you know, and the way you know.”
Thomas said to Him, “Lord, we do not know where You are going, and how
we know the way?”
Jesus said to him, “I am the way, the truth, and the life. No one comes
the Father except through Me. If you had known Me, you would have known
Father also; and from now on you know Him and have seen Him.”