Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

phpMyadmin

General questions about VestaCP
Post Reply
  • Print view
Advanced search
21 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
jhoedram
Posts: 21
Joined: Wed Sep 03, 2014 2:55 pm

Re: phpMyadmin
  • Quote

Post by jhoedram » Sat Sep 06, 2014 9:47 pm

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.
Top

saosangmo
Posts: 20
Joined: Sun Sep 21, 2014 2:27 pm
Contact:
Contact saosangmo
Website Google+

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: phpMyadmin
  • Quote

Post by saosangmo » Sun Sep 21, 2014 5:56 pm

hi, should i restart some service after change password of mysql root?
thanks
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: phpMyadmin
  • Quote

Post by imperio » Sun Sep 21, 2014 6:12 pm

hi, should i restart some service after change password of mysql root?
No
Top

saosangmo
Posts: 20
Joined: Sun Sep 21, 2014 2:27 pm
Contact:
Contact saosangmo
Website Google+

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: phpMyadmin
  • Quote

Post by saosangmo » Wed Sep 24, 2014 3:17 pm

imperio wrote:
hi, should i restart some service after change password of mysql root?
No
Thank you. I feel very happy with VestaCP.
Top

arafatx
Posts: 25
Joined: Tue Aug 11, 2015 4:51 pm

Re: phpMyadmin
  • Quote

Post by arafatx » Tue Aug 11, 2015 5:15 pm

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?
Top

arafatx
Posts: 25
Joined: Tue Aug 11, 2015 4:51 pm

Re: phpMyadmin
  • Quote

Post by arafatx » Tue Aug 11, 2015 5:26 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyadmin
  • Quote

Post by skurudo » Tue Aug 11, 2015 10:35 pm

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'
Top

arafatx
Posts: 25
Joined: Tue Aug 11, 2015 4:51 pm

Re: phpMyadmin
  • Quote

Post by arafatx » Wed Aug 12, 2015 3:49 am

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyadmin
  • Quote

Post by skurudo » Wed Aug 12, 2015 6:48 am

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.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: phpMyadmin
  • Quote

Post by pandabb » Wed Aug 19, 2015 3:19 am

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.
Top


Post Reply
  • Print view

21 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password