Howdy!

I am working on writing Cucumber features and came across an
interesting error, Database locked. My initial thought was that I was
maxing out Sqlite since this is new. After trying to switch over to
MySQL I got an error saying "cannot connect ''@'localhost'", but I had
set my username. I tried changing my username to root and the errors
continued, saying the database could not be found.

So here are my questions:

1. Would the Database locked error come from creating an instance of B
inside of a transaction opened in A?

2. Why can I not connect to MySQL in my test environment? A quick
Googling tells me that this can be due to MySQL missing the user or
not having the gem enabled, and I have the user and I do have the
mysql gem in my Gemfile for the test environment.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to