MySQL database password question
what should my database passw开发者_开发问答ord include and not include? I'm using mySQL and PHP
Wikipedia actually has a pretty extensive article on the subject of password strength. Definitely worth a read.
- Lowercase Letters (a-z)
- Uppercase Letters (A-Z)
- Numbers (0-9)
- Special Characters
Also ensure that you password isnt something silly short like 4 chars. Make it a nice long password, 10+ chars.
You can read guidelines at http://dev.mysql.com/doc/mysql-security-excerpt/5.0/en/password-security.html
My personal rule for choosing mysql password are:
- It should be a valid var name.
- It should include upper and lowercase letters.
- Uppercase letters shouldn't necessarily be at the beginning of a word. eg :
woRd
- It should be longer than 15 chars.
- It should include include numbers.
- It should never reference the name of my project or something about me.
eg: fLodHooters_25_lightsOn
精彩评论