Page 2 of 3

Re: phpMyadmin

Posted: Sat Sep 06, 2014 9:47 pm
by jhoedram
imperio wrote:Hi, you can find mysql root password in this files
/usr/local/vesta/conf/mysql.conf

Code: Select all

USER='root' PASSWORD=''
or

Code: Select all

/root/.my.cnf
passwords for root vps and root mysql is different

I'm there, and I see the password, but I try to accer with root and nothing indicated and password. Besides I see that the mysqld service is stopped.

Re: phpMyadmin

Posted: Sun Sep 21, 2014 5:56 pm
by saosangmo
hi, should i restart some service after change password of mysql root?
thanks

Re: phpMyadmin

Posted: Sun Sep 21, 2014 6:12 pm
by imperio
hi, should i restart some service after change password of mysql root?
No

Re: phpMyadmin

Posted: Wed Sep 24, 2014 3:17 pm
by saosangmo
imperio wrote:
hi, should i restart some service after change password of mysql root?
No
Thank you. I feel very happy with VestaCP.

Re: phpMyadmin

Posted: Tue Aug 11, 2015 5:15 pm
by arafatx
Why VestaCP keep this password there? So, how do I change the root password that can be seen at /usr/local/vesta/conf/mysql.conf ?

Do I just need to edit the password in there?

Re: phpMyadmin

Posted: Tue Aug 11, 2015 5:26 pm
by arafatx
imperio wrote:Hi, you can find mysql root password in this files
/usr/local/vesta/conf/mysql.conf

Code: Select all

USER='root' PASSWORD=''
or

Code: Select all

/root/.my.cnf
passwords for root vps and root mysql is different
I dont have /root/.my.cnf

Re: phpMyadmin

Posted: Tue Aug 11, 2015 10:35 pm
by skurudo
arafatx wrote: I dont have /root/.my.cnf
This file appear when you log to mysql console and you access to this console without password. You can create file yourself:

Code: Select all

[client]
password='your-root-mysql-password'

Re: phpMyadmin

Posted: Wed Aug 12, 2015 3:49 am
by arafatx
skurudo wrote:
arafatx wrote: I dont have /root/.my.cnf
This file appear when you log to mysql console and you access to this console without password. You can create file yourself:

Code: Select all

[client]
password='your-root-mysql-password'
THank you. I solved this problem by manually changing the root password under phpmyadmin UI then I put the password at /usr/local/vesta/conf/mysql.conf . Is that the correct way?

Re: phpMyadmin

Posted: Wed Aug 12, 2015 6:48 am
by skurudo
arafatx wrote: THank you. I solved this problem by manually changing the root password under phpmyadmin UI then I put the password at /usr/local/vesta/conf/mysql.conf . Is that the correct way?
Sure, this is correct way.

Re: phpMyadmin

Posted: Wed Aug 19, 2015 3:19 am
by pandabb
Thanks for this , i was able to change my root pw via phpymyadmin GUI too then manually changing or adding it to the config file. Manually changing the config file without changing the password in phpyadmin gui, does'nt work in my part.