I needed to reinstall MySQL for some reason, and now it's OK.
Thank you for your time, best regards. :)
On Wednesday, February 24, 2016 at 6:37:58 PM UTC+1, Amadeus Folego wrote:
>
> Can you connect from the same machine using another mysql client with
> the same parameters?
>
> On Wed, Feb 24, 2016 at 09:19:50AM -0800, Sulejman Ferizović wrote:
> > First things that I checked. That seems not to be the problem.
> >
> > On Wednesday, February 24, 2016 at 4:53:24 PM UTC+1, Amadeus Folego
> wrote:
> >
> > Are you sure that the combination of server, user, database and
> password
> > is correct?
> >
> > Does not seem like an error on sequel side.
> >
> > On Wed, Feb 24, 2016 at 05:17:50AM -0800, Sulejman Ferizović wrote:
> > > 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.
> >
> >
> > --
> > 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] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > Visit this group at https://groups.google.com/group/sequel-talk.
> > For more options, visit https://groups.google.com/d/optout.
>
>
--
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.