While creating a login system for my website I was wondering about what has to be encrypted so it is safe.
The password for loggin in with an account is stored on the server and is encrypted but what I am unsure about is if it is necesarry to encrypt the password I use for connecting to the mysql server in php. Like in this code here:
mysql_connect("server", "db", "password") or die(mysql_error());
Is it safe if I just write my password in there if the file is a plain php file?
Thanks for your answers