Created
          January 28, 2022 16:47 
        
      - 
      
- 
        Save pietrorea/9081e2810c20337c6ea85350a31bb427 to your computer and use it in GitHub Desktop. 
Revisions
- 
        pietrorea created this gist Jan 28, 2022 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ mysql -u root --password="${PASSWORD}" <<EOF CREATE DATABASE ${DB_NAME}; CREATE USER '${APP_USER}'@'localhost' IDENTIFIED BY '${APP_PASSWORD}'; GRANT ALL ON ${DB_NAME}.* TO '${APP_USER}'@'localhost' EOF