node-mariasql
node-mariasql copied to clipboard
Access denied for user 'root'@'localhost'
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
you need set port number, and password of maria db