Skip to content

Access denied for user 'root'@'localhost' #205

@ahmedbhk

Description

@ahmedbhk

I am using nodejs v8.11.1
mariasql 0.2.6
username root
no password
and this is my client config
var c = new Client({
host: '127.0.0.1',
user: 'root'
});

when I run I have this error
Error: Access denied for user 'root'@'localhost'

when I use mysql -u root
it works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions