From: Sherm Pendley Date: 2011-02-14T12:40:30+09:00 Subject: Re: Newbie having serious problems Micah Wolfe <52w7te9ara@snkmail.com> writes: > borderDB = Mysql::new('localhost', 'root', 'proot', 'dbname') > (not my real proot, nor db name) > > and it gives me: > ./../Developer/usr/bin/gen_encpolygons.rb:11:in `new': Access denied > for user 'root'@'localhost' (using password: YES) (Mysql::Error) This is purely a MySQL permissions issue, nothing to do with your Ruby code. You're connecting to the MySQL server just fine, but the user and password you're trying to use is being denied access. Use your favorite MySQL admin tool to be sure that you're using the correct password for the user 'root', and that 'root' can log in from 'localhost'. sherm-- -- Sherm Pendley Cocoa Developer