forked from HPR/hpr_hub
5 lines
184 B
Bash
5 lines
184 B
Bash
|
#!/bin/bash
|
||
|
pw=$(grep -E '^\$databasePassword = ' /home/hpr/php/credentials.php | awk -F "'" '{print $2}' )
|
||
|
pw=${pw##* }
|
||
|
mysql --host=localhost --user=hpr_hpr --password="$pw" hpr_hpr
|