If you don't want to embed the database server password directly in your code as clear text, you might want to look at the MySQL password digest features.
如果不希望在代码中以明文形式直接嵌入数据库服务器密码,那么可以考虑使用MySQL的密码摘要特性。
The default installation of MySQL, particularly the empty root password and the potential vulnerability to buffer overflow, makes the database server an easy target for attacks.
MySQL的默认安装,特别是根密码空缺和缓冲区溢出的潜在漏洞,使得这个数据库服务器成为容易攻击的目标。
Note that you'll need to change the username and password to the appropriate values for your MySQL account.
注意:你需要改变用户名和口令以适应你MySQL帐号。
You will want to add on your MySQL root password if you have it set to the end of that command. You should then see the following.
如果您已经设置了MySQL的root密码,那么在这个命令后面就要添加上root用户的密码。
You will want to add on your MySQL root password if you have it set to the end of that command. You should then see the following.
如果您已经设置了MySQL的root密码,那么在这个命令后面就要添加上root用户的密码。
应用推荐