Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion install/installWP.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ useradd -p $(echo $userPassword | openssl passwd -1 -stdin) $userName
echo "Please enter root password for MYSQL"
mysql --user=root -p -e "create database $userName;
CREATE USER '$userName'@localhost IDENTIFIED BY '$userPassword';
GRANT ALL PRIVILEGES ON $userName . * TO '$userName'@'localhost';"
GRANT ALL PRIVILEGES ON $userName . * TO '$userName'@'localhost';
UPDATE mysql.user SET max_user_connections=50 WHERE user='$userName' AND host='localhost';"
echo ""

# Create folders for WP. www-data in user group and correct permissions for server to run
Expand Down