Ver código fonte

Updated scripts for db and server setup

pull/14/head
Steffan JJ 1 ano atrás
pai
commit
4916187ae9

+ 4
- 0
trias/Database/mysql_restore.sh Ver arquivo

@@ -1,4 +1,8 @@
# Set the database credentials
sudo apt-get update
sudo apt-get -y install cifs-utils
sudo mount //10.10.5.26/trias /mysql_backup/ -o username='baptist',password='2021Bbh',domain='bbh'

DB_USER="root"
DB_PASS="root@123"
DB_NAME="triq_demo"

+ 3
- 0
trias/Server/trias_dbserver_script.sh Ver arquivo

@@ -5,6 +5,9 @@ sudo systemctl start mysql.service

sleep 2

cd /
sudo mkdir mysql_backup

#STEPS FOR MYSQL_SECURE_INSTALLATION
#STEP-1 sudo mysql
#STEP-2 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'SET_PASSWORD';

Carregando…
Cancelar
Salvar