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 Database Server
  • Search

Im unable to login to phpmyadmin

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
atozhacks
Posts: 1
Joined: Fri May 31, 2019 8:31 am

Os: CentOS 6x
Web: nginx + php-fpm
Im unable to login to phpmyadmin
  • Quote

Post by atozhacks » Fri May 31, 2019 8:41 am

Im using server with centOS 7.5 and VESTA CP,I restored backup of wordpress and everything's fine but suddenly all the database's are going down,Due to which my site,android app are going down,I've to restart the server from VESTA PANEL to get them back,Someone please help me..
Here is the error im getting for no reason and it gets fixed after restarting the server :

Cannot login to MYSQL Server
mysqli_real_connect():(HY000/2002): Connecting refused
configuration for controluser defined in your configuration failed.
mysqli_real_connect():(HY000/2002): Connecting refused

Please help me..
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Im unable to login to phpmyadmin
  • Quote

Post by skamasle » Tue Jun 18, 2019 1:22 pm

Hi

A supose you solve your problem, but in any orther issue, please provide logs.
Top

caustino
Posts: 4
Joined: Fri Feb 21, 2020 6:23 am

Os: Debian 8x
Web: apache + nginx
Re: Im unable to login to phpmyadmin
  • Quote

Post by caustino » Fri Feb 21, 2020 10:31 pm

I solved it in this simple way
***** restore user root mysql *****
mysql -u root -p mysql
MariaDB [mysql]> update user set plugin='' where user='root';
MariaDB [mysql]> flush privileges;
MariaDB [mysql]> exit
***********************************

to disable user root again ....
update user set plugin='unix_socket' where user='root';

viewtopic.php?t=14658
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Database Server”



  • 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