From 5c73358fd7df242083ec0aef9a52d63f0d8de27e Mon Sep 17 00:00:00 2001 From: mauryakrishna Date: Sat, 6 Nov 2021 16:28:04 +0530 Subject: [PATCH] some notes on db added --- migrations/db-migrate-command | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/migrations/db-migrate-command b/migrations/db-migrate-command index a40ea84..f8a6df3 100644 --- a/migrations/db-migrate-command +++ b/migrations/db-migrate-command @@ -48,4 +48,7 @@ Add column ALTER TABLE tablename ADD columnname data_type; Drop column command -ALTER TABLE tablename DROP COLUMN columnname \ No newline at end of file +ALTER TABLE tablename DROP COLUMN columnname + +For mysql 5.7 - Source https://stackoverflow.com/questions/33510184/how-to-change-the-mysql-root-account-password-on-centos7 +to get the intial temporary password on install -> grep 'temporary password' /var/log/mysqld.log