Can't connect to MySQL

I’m trying to setup rails on a windows machine. “Hello World” is working
fine, but when i try to connect to a (remote) mysql database i get this
error: http://pastebin.ca/76271

I get the error as soon as I add the line: “@picture_pages, @pictures =
paginate :pictures, :per_page => 10” to my page.

The know it’s not the MySQL server since i used it for other (rails)
projects, and if i just rename the table i get a “table not found”-error
instead, which should indicate that it connects fine.