note 21004 rejected from function.mysql-connect by torben
| From: | torben@php.net | Date: | Thu, 25 Apr 2002 05:47:02 +0000 |
| Subject: | note 21004 rejected from function.mysql-connect by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29821@lists.php.net to get a copy of this message | ||
Ok...really quick security problem and hopefully equally quick solution. I can connect to mysql
database leaving the root, username and password empty. I just realized this while fudging the
password on purpose. I'm even able to insert records into the db.
$dbcnx=@mysql_connect("", "", "");
Am I missing an important configuration in either php or mysql?