We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43006e8 commit c1e1e6dCopy full SHA for c1e1e6d
setup_mysql_dev.sql
@@ -0,0 +1,7 @@
1
+-- prepares a MySQL server for the project
2
+
3
+CREATE DATABASE IF NOT EXISTS hbnb_dev_db;
4
+CREATE USER IF NOT EXISTS 'hbnb_dev'@'localhost' IDENTIFIED BY 'hbnb_dev_pwd';
5
+GRANT ALL PRIVILEGES ON `hbnb_dev_db`.* TO 'hbnb_dev'@'localhost';
6
+GRANT SELECT ON `performance_schema`.* TO 'hbnb_dev'@'localhost';
7
+FLUSH PRIVILEGES;
0 commit comments