mysql no password root login not working
eternalodball opened this issue · 1 comments
eternalodball commented
I edited db.js and since mysql root password was none , i left it blank and this error occured
[19:32:46] E/launcher - Error: /home/aao/Desktop/test/proxy-scraper/db.js:13
password: config.,
^
SyntaxError: Unexpected token ','
sunny9577 commented
@eternalodball You can set password from config.js file, it will also allow you to set blank password as well. Just set it like this
config.DB_PASS = "";
This will allow you to connect.