mysqli connect with mysql login path
| From: | Gabriel Rau via php-general | Date: | Tue, 19 Jul 2022 19:01:54 +0000 |
| Subject: | mysqli connect with mysql login path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328034@lists.php.net to get a copy of this message | ||
I am trying to connect to mysql in my php code without having to pass in a password. I would like to
use the mysql config editor to set the credentials once and then simply tell php to connect using
that. Is there any way to do this in PHP?
Best,
Gabriel