forked from HPR/hpr_hub
5 lines
184 B
Bash
Executable File
5 lines
184 B
Bash
Executable File
#!/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
|