mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix missing -p in mysql call on centos6.
This commit is contained in:
parent
0da1e186d7
commit
5952181454
|
@ -213,7 +213,7 @@ case $distro in
|
|||
echo "Creating Mysql Database and User."
|
||||
echo "## Please Input your MySQL/MariaDB root password: "
|
||||
echo ""
|
||||
sudo mysql -u root -p < $dbsetup
|
||||
mysql -u root -p < $dbsetup
|
||||
echo ""
|
||||
|
||||
#Install / configure composer
|
||||
|
@ -317,7 +317,7 @@ case $distro in
|
|||
/usr/bin/mysql_secure_installation
|
||||
echo "## Creating MySQL Database and user. "
|
||||
echo "## Please Input your MySQL/MariaDB root password: "
|
||||
sudo mysql -u root -p < $dbsetup
|
||||
mysql -u root -p < $dbsetup
|
||||
|
||||
echo "## Securing Mysql"
|
||||
|
||||
|
@ -397,7 +397,7 @@ case $distro in
|
|||
|
||||
echo "## Creating MySQL Database/User."
|
||||
echo "## Please Input your MySQL/MariaDB root password: "
|
||||
mysql -u root < $dbsetup
|
||||
mysql -u root -p < $dbsetup
|
||||
|
||||
##TODO make sure the apachefile doesnt exhist isnt already in there
|
||||
#Create the new virtual host in Apache and enable rewrite
|
||||
|
|
Loading…
Reference in a new issue