Enter code h

require "bundler"
Bundler.require

DB = Sequel.connect ({
    adapter: "mysql2",
    host: "localhost",
    port: "3306",
    user: "root@localhost",
    password: "1234",
    database: "sequel_demo"
}) 


I'm trying to connect to my database on MySQL, with Sequel, and I get this 
error: 


*C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mysql2-0.4.2-x64-mingw32/lib/mysql2/clien
 
t.rb:87:in `connect': Mysql2::Error: Access denied for user 
'A2'@'localhost' (using password: YES) (Sequel::DatabaseConnectionError)*


Can anyone tell me what is the problem? 


Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to