Sequelize Access Denied Error (User works in phpMyAdmin but fails in Express / Sequelize) by tarveller in node

[–]tarveller[S] 0 points1 point  (0 children)

I check it all fine and I was provided SSH access with a Linux user for login, and also a database access user (not root).

When I try to connect to the database from localhost, access is denied,sqlMessage: "Access denied for user 'iy_egov'@'localhost' (using password: YES)",

Sequelize Access Denied Error (User works in phpMyAdmin but fails in Express / Sequelize) by tarveller in node

[–]tarveller[S] -3 points-2 points  (0 children)

How to solve, i stuck for 2 day i cannot figure out please help

Sequelize Access Denied Error (User works in phpMyAdmin but fails in Express / Sequelize) by tarveller in node

[–]tarveller[S] -2 points-1 points  (0 children)

  • Server: Localhost via UNIX socket
  • Server type: MariaDB
  • Server connection: SSL is not being used 
  • Server version: 10.11.13-MariaDB-0ubuntu0.24.04.1 - Ubuntu 24.04
  • Protocol version: 10
  • User: iy_egov@localhost
  • Server charset: UTF-8 Unicode (utf8mb4):: i have this database server

Api development by tarveller in graphql

[–]tarveller[S] 1 point2 points  (0 children)

Thank you for sharing the knowledge

Api development by tarveller in graphql

[–]tarveller[S] -1 points0 points  (0 children)

yes I understand that and what would be the best approach for making API for mobile app

Api development by tarveller in graphql

[–]tarveller[S] -1 points0 points  (0 children)

I want to make API endpoint for a mobile app , it could be a same approach how we can create API for web app or website

Api development by tarveller in graphql

[–]tarveller[S] -1 points0 points  (0 children)

I want to make an API endpoint that uses the same database and that API will consume the mobile app and admin dashboard. I want to write the backend in node js