Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Admin cannot establish connectin to database #136

Open
Techknowledgeman opened this issue Jan 25, 2022 · 8 comments
Open

Web Admin cannot establish connectin to database #136

Techknowledgeman opened this issue Jan 25, 2022 · 8 comments

Comments

@Techknowledgeman
Copy link

Describe the problem:

Error establishing a database connection when browsing to web interface

Steps to Reproduce:

Type here what we should do in order to see the bug on our test server

Debian version:

Type here, example: Debian 10

VestaCP Version:

unsure, it's been a while.

Installed Software (what you got with the installer):

WEB_SYSTEM='apache2'
WEB_RGROUPS='www-data'
WEB_PORT='8080'
WEB_SSL_PORT='8443'
WEB_SSL='mod_ssl'
PROXY_SYSTEM='nginx'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
STATS_SYSTEM='webalizer,awstats'
FTP_SYSTEM='proftpd'
DNS_SYSTEM='bind9'
MAIL_SYSTEM='exim4'
IMAP_SYSTEM='dovecot'
CRON_SYSTEM='cron'
FIREWALL_SYSTEM='iptables'
FIREWALL_EXTENSION='fail2ban'
BACKUP_SYSTEM='local'
LANGUAGE='en'
VERSION='0.9.8'
DB_SYSTEM='mysql'
UPDATE_HOSTNAME_SSL='yes'
DB_PMA_URL='https://azure.syd.hosting.norgannetworks.net.au/phpmyadmin/'
MAX_DBUSER_LEN=80

Copy here first 22 lines of file /usr/local/vesta/conf/vesta.conf

@myvesta
Copy link
Owner

myvesta commented Jan 25, 2022

can you screenshot the error?

@Techknowledgeman

This comment has been minimized.

@Techknowledgeman
Copy link
Author

image

@myvesta
Copy link
Owner

myvesta commented Jan 31, 2022

check if mysql is running?
you maybe created new databases but with the same mysql username and different password, so that way you set new password to previously database ?

@Techknowledgeman
Copy link
Author

Techknowledgeman commented Jan 31, 2022 via email

@myvesta
Copy link
Owner

myvesta commented Jan 31, 2022

is it wordpress, right?
open it's wp-config.php - get mysql password form there - and set that password via myVesta panel to that database.

@Techknowledgeman
Copy link
Author

Techknowledgeman commented Jan 31, 2022 via email

@myvesta
Copy link
Owner

myvesta commented Jan 31, 2022

send me to info@myvestacp.com URL that you screenshoted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants