This question already has an answer here:
I have got error when try to insert data using PHP code to wordpress database.
Error like this :
Connect failed: Access denied for user 'username'@'localhost' (using password: NO)” in wordpress
How can I fix this.
I'm working on live server.
</div>