diff --git a/.gitignore b/.gitignore index 62c8935..8892ef9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea/ \ No newline at end of file +.idea/ +sftp-config.json diff --git a/README.md b/README.md index d2bc78a..8e3073b 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,8 @@ This is used in the demonstration of development of Ansible Playbooks. # mysql -u -p mysql> CREATE DATABASE employee_db; - mysql> GRANT ALL ON *.* to db_user@'%' IDENTIFIED BY 'Passw0rd'; + mysql> CREATE USER 'db_user'@'localhost' IDENTIFIED BY 'Passw0rd'; + mysql> GRANT ALL ON employee_db.* TO 'db_user'@'localhost'; mysql> USE employee_db; mysql> CREATE TABLE employees (name VARCHAR(20));