MySQL password missing


#1

Followed these steps in the FAQ:

“MySQL username and password is saved in ~/.my.cnf file while installing mysql. EasyEngine reads username and password from this file.”

When i tried:

nano ~/.my.cnf

The file was blank. Could that have been erased at some point? Anyway to recover it?


#2

NEVERMIND.

Was getting this whole installation process confused with something else. I know where the username and pass is… 10 o’clock at night… should probably call it quits for now!


#3

@peter1
I suppose, you have run this command ee stack install
Check MySQL username and password at following locations.
/root/.my.cnf
or
/home/user/.my.cnf
These locations depends on how you run ee stack install i.e by sudo user or root user.


#4

I am using putty as root user and I get the following error:

-bash: /root/.my.cnf: Permission denied


#5

Hi @peter1,

It looks like there is problem with Putty over ssh. Reference: http://ubuntuforums.org/showthread.php?t=1946873

You can try using SSH via. terminal on any linux terminal for the same.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#6