Skip to content

Commit

Permalink
user mariadb instead of ´mysql`
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Oct 3, 2024
1 parent 03823aa commit c6cde78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ wp_cli_cmd --info
check_command wp_cli_cmd core download --force --debug

# Populate DB
mysql -uroot -p"$MARIADB_PASS" <<MYSQL_SCRIPT
mariadb -uroot -p"$MARIADB_PASS" <<MYSQL_SCRIPT
CREATE DATABASE $WPDBNAME;
CREATE USER '$WPDBUSER'@'localhost' IDENTIFIED BY '$WPDBPASS';
GRANT ALL PRIVILEGES ON $WPDBNAME.* TO '$WPDBUSER'@'localhost';
Expand Down Expand Up @@ -563,7 +563,6 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
brotli on;
## Your website name goes here.
# server_name example.com;
Expand Down

0 comments on commit c6cde78

Please sign in to comment.