Cant connect to local host
-
- Posts: 2
- Joined: Fri Feb 05, 2016 6:32 am
Cant connect to local host
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.
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.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Cant connect to local host
Restart the mysql service. And check log files.
-
- Posts: 2
- Joined: Fri Feb 05, 2016 6:32 am
Re: Cant connect to local host
How van I reswt it? I'm a liytle bit a noob @tjebbeke
Re: Cant connect to local host
via ssh -> connect to server and
or
PS: Your OS?
Code: Select all
service mysql restart
Code: Select all
service mysqld restart