General cleanup of file locations
This commit is contained in:
4
bin/mdb.bash
Executable file
4
bin/mdb.bash
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/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
|
Reference in New Issue
Block a user