Sfoglia il codice sorgente

Updated scripts for db and server setup

master
Steffan JJ 1 anno fa
parent
commit
4916187ae9

+ 4
- 0
trias/Database/mysql_restore.sh Vedi File

@@ -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 Vedi File

@@ -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';

Loading…
Annulla
Salva