As i run the unit tests using rake, it shows an error message saying that ‘Rake aborted:Connection to MySQL server lost’ but when i do --trace it shows that tests were executed. Why this error could be coming? Any ideas?
Thanks and regards,
Have you installed the MySQL gem? It looks like you have not. If
not, you should.
swanand deodhar wrote:
As i run the unit tests using rake, it shows an error message saying
that 'Rake aborted:Connection to MySQL server lost'
That is something of a Rails FAQ. MySQL hangs up the phone on you when the wind blows. What did you Google for before posting?
(Tip: Configure your unit tests to run with SQLite3, and they will zip!)