Skip to content
Snippets Groups Projects
Commit f74222ab authored by Maciej Osyda's avatar Maciej Osyda
Browse files

Removed mysql password from core config command

parent 62352c46
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ mysql -u root -e "CREATE DATABASE IF NOT EXISTS \`wordpress\` CHARACTER SET utf8
cd /var/www/html
/var/www/html/wp-cli core download --version=$1 --allow-root
/var/www/html/wp-cli core config --dbname=wordpress --dbuser=root --dbpass=root --allow-root
/var/www/html/wp-cli core config --dbname=wordpress --dbuser=root --allow-root
/var/www/html/wp-cli core install --url=http://localhost:8888/wordpress/ --title=WordPress --admin_user=admin --admin_password=admin123 --admin_email=somefakeemail@fakedomain.com --allow-root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment