Error in my_thread_global_end() when running rake db:migrate

When I run rake db:migrate I get this error at the end.

Error in my_thread_global_end(): 1 threads didn't exit

I pinned it down to this code which is in 004_create_permissions.rb.

    # create admin user     user = User.new     user.login = 'admin'     user.password = 'password'     user.save(false)

If I don't run user.save(false) I don't get the error. I am not sure why, the user does get saved properly to the database.

Any help would be appreciated.

Thanks,

Hi Frank Kim!. I had similar problem ( my config: "mysql Ver 14.12 Distrib 5.0.46, for Win32"). I found an answer here MySQL :: MySQL Forums After update to "mysql Ver 14.12 Distrib 5.0.51b, for Win32 (ia32)" a problem disappeared. Try to update your msql, I hope it will help you.

Frank Kim wrote: