作者:wangtao | 2023-06-12 16:39
尝试$conn = mysql_connect("localhost", "root")
或$conn = mysql_connect("localhost", "root", "")
1> onedevteam.c..:
尝试$conn = mysql_connect("localhost", "root")
或$conn = mysql_connect("localhost", "root", "")
很可能是因为您没有设置root密码.换句话说,您的SQL设置非常容易受到攻击.[本文](https://www.digitalocean.com/community/articles/how-to-secure-mysql-and-mariadb-databases-in-a-linux-vps)有很多关于保护它的起始技巧