You would probably want to spell 'privileges' correctly, for starters.
If you are connecting to a server where some admin has given you access to mysql, then you will need to connect using the username and password given you by the admin.
Some admins prefer using '127.0.0.1' as the host rather than 'localhost'.
The admin probably sent some information about this to you.
You need to rewrite the settings in your setup file to match exactly the username, password, host, and db names given to you by the admin.