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

MYSQL is BROKEN fresh install

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
dovanele
Posts: 4
Joined: Sat Nov 19, 2016 11:13 am

MYSQL is BROKEN fresh install
  • Quote

Post by dovanele » Wed Apr 11, 2018 8:50 pm

Hi,

I happily used VestaCP for many years until recently after updated in 2 weeks constant crashed and and broken updates.

viewtopic.php?t=13363

I now have completely broken MYSQL, have reinstalled clean and backup, but after updates it's just same broken MYSQL. It's not possible to login to mysql
and if I try to change password it simly hangs after

Code: Select all

sudo mysqld --skip-grant-tables
next time i try to do it again it gives error

Code: Select all

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Funny that once i have managed to get it running with password changed but then it gone back to the same after few minutes

Also for variety it sometimes gives error

Code: Select all

mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists
so i fix it with this

Code: Select all

mkdir -p /var/run/mysqld
chown mysql:mysql /var/run/mysqld
but then next time it all hangs again. It's like vicious wheel of errors that just keep circling round and round...

Is there something wrong with install? I newer have been stuck in such an endless loop before, have no idea what to do :(

ubuntu 16.04 64bit
latest vestacp from
# curl -O http://vestacp.com/pub/vst-install.sh
Top

dovanele
Posts: 4
Joined: Sat Nov 19, 2016 11:13 am

Re: MYSQL is BROKEN fresh install
  • Quote

Post by dovanele » Thu Apr 12, 2018 8:17 pm

I gave up on this and installed another fresh isntall and made sure password is set from install script as changing password for MYSQL is definition of impossible LMAO. Like seriously how it's possible to make most rudimentary task to make impossible it's beyond....
Top

yoko eagle
Posts: 33
Joined: Sat Jan 20, 2018 3:45 am

Os: Debian 8x
Web: apache + nginx
Re: MYSQL is BROKEN fresh install
  • Quote

Post by yoko eagle » Fri Apr 13, 2018 8:20 am

dovanele wrote: ↑
Wed Apr 11, 2018 8:50 pm
Hi,

I happily used VestaCP for many years until recently after updated in 2 weeks constant crashed and and broken updates.

viewtopic.php?t=13363

I now have completely broken MYSQL, have reinstalled clean and backup, but after updates it's just same broken MYSQL. It's not possible to login to mysql
and if I try to change password it simly hangs after

Code: Select all

sudo mysqld --skip-grant-tables
next time i try to do it again it gives error

Code: Select all

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
In my experienced, it is because of the latest security applied on latest vestacp version.
It's tightening the password auth process.
I can resolved it by resubmit all db password on each db within vesta GUI.
Then restart mysql service.
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