PHP / Mysql Path Login
Hello Community,
I would like know how configure path
in config.php
define( 'DBPASSWORD', 'passwordhere' );
I had
sudo -u userdb mysql --login-path=dbpath
1 Reply
Greetings @jbsystem,
I did some digging and found a few detailed answers on creating a database configuration file. You can find them below:
http://www.mysqltutorial.org/php-connecting-to-mysql-database/
https://stackoverflow.com/questions/29763358/best-way-to-create-configuration-fileconfig-php-php
I also searched Github and found a php configuration file that you could use for some ideas:
https://gist.github.com/fcm/1196118/6742d0160294d8150b141e7c9b0af49b9b29487e
Best,
Preston
Linode Support Team