Mysql root password

General eFa discussion
Post Reply
EnricoGTT
Posts: 33
Joined: 09 Jun 2014 07:24

Mysql root password

Post by EnricoGTT »

I have deploy the EFA ovf and configure it.
I need the mysql root password to connect with webmin to mysql RDMS.
How can know or reset this password
thanks
Regards
Enrico
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Mysql root password

Post by darky83 »

please see /etc/EFA-Config it contains the root password.

Be sure to not change it as it might break future updates.
Version eFa 4.x now available!
cphillips
Posts: 27
Joined: 12 Nov 2016 20:16

Re: Mysql root password

Post by cphillips »

Can someone tell me where the password is now located for the SQL database? Is it still in /etc/EFA-Config - I have a password/string in there which I have tried with various user accounts but none work!

Any help appreciated.

I'm on 3.0.1.5.
cphillips
Posts: 27
Joined: 12 Nov 2016 20:16

Re: Mysql root password

Post by cphillips »

I've worked this out now!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Mysql root password

Post by pdwalker »

also consider this so you don't have to wonder about the password:

Code: Select all

mysql -uroot -p`grep ROOT /etc/EFA-Config | awk -F: '{print $2}'`
Post Reply