remonalbear / CMMS

Computerized Maintenance Management System Project
53 stars 38 forks source link

Database Username Password #7

Open Ladjets opened 3 years ago

Ladjets commented 3 years ago

Hi

I need to change the database user and password, where can i locate to edit

Thanks Mattie

janpadiz commented 2 years ago

Open db.js, set the password after 'root'.

const sequelize = new Sequelize('database', 'username', 'password', { host: 'localhost', dialect: / one of 'mysql' | 'mariadb' | 'postgres' | 'mssql' / });

Source: https://sequelize.org/master/manual/getting-started.html

image