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

Always same error with MySQL and VestaCP

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Locked
  • Print view
Advanced search
4 posts • Page 1 of 1
josearcos
Posts: 4
Joined: Mon May 04, 2015 10:59 am

Always same error with MySQL and VestaCP

Post by josearcos » Mon May 04, 2015 11:03 am

I've a cloud instance in DigitalOcean, first thing I do when I create my new droplet is install VestaCP, but I've always the same error with MySQL. In one installation of PrestaShop this is the error that I can see:
Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I've tried removing mysql and installing again but the errors still continue. Sometimes when I reboot my machine it works... It's only happens when I install VestaCP, if I configure Apache and MySQL only with SSH access this error doesn't happens.
Could you help me, please?

Thanks.
Top

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

Re: Always same error with MySQL and VestaCP

Post by skurudo » Tue May 05, 2015 1:40 pm

Show us please mysql error log and your my.cnf

Config and log locations on a Debian and Ubuntu:
https://vestacp.com/docs/#config-log-lo ... ian-ubuntu
Top

josearcos
Posts: 4
Joined: Mon May 04, 2015 10:59 am

Re: Always same error with MySQL and VestaCP

Post by josearcos » Tue Aug 18, 2015 9:42 am

Finally I could solve this removing every mysql extension and installing it again. Thanks for your support.
Top

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

Re: Always same error with MySQL and VestaCP

Post by skurudo » Tue Sep 01, 2015 1:04 pm

Nice! ^_^
closed then
Top


Locked
  • Print view

4 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