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
  • 1
  • 2
  • 3
  • Next
Farrow
Posts: 15
Joined: Fri May 16, 2014 4:15 pm

phpMyadmin
  • Quote

Post by Farrow » Fri May 16, 2014 4:24 pm

I have a problem with roundcube data base connection, Ive read the tut about adding the tables for the database but I am unable to login as root user to phpmyadmin. Ive tried the password giving when vesta is installed, Ive also tried the password for my VPS. Is there a default password to login as root?

Any advice would be greatly appreciated.
Top

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

Re: phpMyadmin
  • Quote

Post by imperio » Fri May 16, 2014 5:22 pm

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
Top

Farrow
Posts: 15
Joined: Fri May 16, 2014 4:15 pm

Re: phpMyadmin
  • Quote

Post by Farrow » Fri May 16, 2014 6:03 pm

Thank you very much for the reply.
When I change root password I get error when trying to add database:
Adding database → Error: Connection failed

Is there another file I have to update the new password?
Top

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

Re: phpMyadmin
  • Quote

Post by imperio » Fri May 16, 2014 6:25 pm

if you changed mysql root password in the ssh, also you should add him to mysql.conf
/usr/local/vesta/conf/mysql.conf
Top

Farrow
Posts: 15
Joined: Fri May 16, 2014 4:15 pm

Re: phpMyadmin
  • Quote

Post by Farrow » Fri May 16, 2014 6:31 pm

I looked in /usr/local/vesta/conf/mysql.conf and could not see any where to change pass.

Code: Select all

WEB_SYSTEM='httpd'
WEB_RGROUPS='apache'
WEB_PORT='8080'
WEB_SSL='mod_ssl'
WEB_SSL_PORT='8443'
PROXY_SYSTEM='nginx'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
FTP_SYSTEM='vsftpd'
MAIL_SYSTEM='exim'
IMAP_SYSTEM='dovecot'
ANTIVIRUS_SYSTEM=''
ANTISPAM_SYSTEM=''
DB_SYSTEM='mysql'
DNS_SYSTEM='named'
STATS_SYSTEM='webalizer,awstats'
BACKUP_SYSTEM='local'
CRON_SYSTEM='crond'
DISK_QUOTA='no'
REPOSITORY='cmmnt'
VERSION='0.9.8'
LANGUAGE='en'
Top

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

Re: phpMyadmin
  • Quote

Post by imperio » Fri May 16, 2014 6:43 pm

/usr/local/vesta/conf/mysql.conf
do you have mysql.conf file in this directory /usr/local/vesta/conf/ ?
Top

Farrow
Posts: 15
Joined: Fri May 16, 2014 4:15 pm

Re: phpMyadmin
  • Quote

Post by Farrow » Fri May 16, 2014 7:01 pm

Yes I have that file. If I change the password in /usr/local/vesta/conf/mysql.conf
I can not connect to databases from the panel, I can not add databases or delete them from the panel.
It gives error:
Adding database → Error: Connection failed
Top

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

Re: phpMyadmin
  • Quote

Post by imperio » Fri May 16, 2014 7:16 pm

take the password in the /root/.my.cnf
and add this password in mysql.conf
/usr/local/vesta/conf/mysql.conf

Code: Select all

PASSWORD='password from my.cnf'
Top

Farrow
Posts: 15
Joined: Fri May 16, 2014 4:15 pm

Re: phpMyadmin
  • Quote

Post by Farrow » Fri May 16, 2014 7:23 pm

I got it now.
Thank you very much.
Top

morcom
Posts: 14
Joined: Thu May 15, 2014 6:21 pm

Re: phpMyadmin
  • Quote

Post by morcom » Sat May 17, 2014 1:39 pm

Me too - thanks for the answer
Top


Post Reply
  • Print view

21 posts
  • 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