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

Cant connect to local host

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
blaauwkoen
Posts: 2
Joined: Fri Feb 05, 2016 6:32 am

Cant connect to local host
  • Quote

Post by blaauwkoen » Fri Feb 05, 2016 6:55 am

Hi!

I have a problem with my server, yesterday evening. The DB part stopped working. If I try to stop a server or add one it gives me this message: Error: Connection to localhost failed
How can I fix this?

Greetings.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Cant connect to local host
  • Quote

Post by tjebbeke » Fri Feb 05, 2016 8:06 am

Restart the mysql service. And check log files.
Top

blaauwkoen
Posts: 2
Joined: Fri Feb 05, 2016 6:32 am

Re: Cant connect to local host
  • Quote

Post by blaauwkoen » Fri Feb 05, 2016 9:48 am

How van I reswt it? I'm a liytle bit a noob @tjebbeke
Top

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

Re: Cant connect to local host
  • Quote

Post by skurudo » Fri Feb 05, 2016 11:27 am

via ssh -> connect to server and

Code: Select all

service mysql restart
or

Code: Select all

service mysqld restart
PS: Your OS?
Top


Post Reply
  • 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