this was you did not gave the correct user name and pass word to the conect the mysql database
you are trying to conect the db useing user -root
and with out password, but you db does not support to loging like this
you have two options
1. change you coard with vaild loging
2. give the pemition to loging root user to the db (mysql ) without the pass word
r
-pasindu