I installed Ruby on Rails 4.2 on Ubuntu successfully and use MySQL as my database, but when I want to see the new application that I created in the browser using localhost: 3000
I get this error message:
Mysql2::Error
Access denied for user 'root'@'localhost' (using password: NO)
Extracted source (around line
socket = socket.to_s unless socket.nil?
70 connect user, pass, host, port, database, socket, flags
end
def self.default_query_options
Any help?
source
share