mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -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 "Creating Mysql Database and User."
|
||||||
echo "## Please Input your MySQL/MariaDB root password: "
|
echo "## Please Input your MySQL/MariaDB root password: "
|
||||||
echo ""
|
echo ""
|
||||||
sudo mysql -u root -p < $dbsetup
|
mysql -u root -p < $dbsetup
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
#Install / configure composer
|
#Install / configure composer
|
||||||
|
@ -317,7 +317,7 @@ case $distro in
|
||||||
/usr/bin/mysql_secure_installation
|
/usr/bin/mysql_secure_installation
|
||||||
echo "## Creating MySQL Database and user. "
|
echo "## Creating MySQL Database and user. "
|
||||||
echo "## Please Input your MySQL/MariaDB root password: "
|
echo "## Please Input your MySQL/MariaDB root password: "
|
||||||
sudo mysql -u root -p < $dbsetup
|
mysql -u root -p < $dbsetup
|
||||||
|
|
||||||
echo "## Securing Mysql"
|
echo "## Securing Mysql"
|
||||||
|
|
||||||
|
@ -397,7 +397,7 @@ case $distro in
|
||||||
|
|
||||||
echo "## Creating MySQL Database/User."
|
echo "## Creating MySQL Database/User."
|
||||||
echo "## Please Input your MySQL/MariaDB root password: "
|
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
|
##TODO make sure the apachefile doesnt exhist isnt already in there
|
||||||
#Create the new virtual host in Apache and enable rewrite
|
#Create the new virtual host in Apache and enable rewrite
|
||||||
|
|
Loading…
Reference in a new issue