2018-11-14 13:18:58 +01:00
|
|
|
# App_SQL_DB_bash_creator
|
|
|
|
|
2021-04-26 00:40:51 +02:00
|
|
|
Very basic bash script to create a database on mysql whith its own user and password to be used by an application like a website, cloud, etc.
|
2018-11-14 13:26:00 +01:00
|
|
|
To be used on a myql server like mariaDB.
|
|
|
|
|
|
|
|
To run type in terminal:
|
2021-04-26 00:40:51 +02:00
|
|
|
sudo bash sql_datauser.sh // Make sure you are sudo here
|
2018-11-14 13:26:00 +01:00
|
|
|
|
2021-04-26 00:40:51 +02:00
|
|
|
It will ask you to input the necessary fields and in the END it will ask you for the password for the user using sudo.
|