Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.databases.mysql > #7619

Re: Naive User

From "J.O. Aho" <user@example.net>
Newsgroups comp.databases.mysql
Subject Re: Naive User
Date 2022-01-16 00:44 +0100
Message-ID <j4h4jcFipgaU1@mid.individual.net> (permalink)
References <20220115225605.ab6d3b6942db5cbec4ee231b@gmail.com>

Show all headers | View raw


On 15/01/2022 23.56, pinnerite wrote:
> When I try to start MySQL from a Linux Mint 20.3 terminal, it returns this:
> 
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock
> 
> I cannot find any configuration file that points to that address.
> 
> How does MySQL know to look there?
> 

The mysql daemon hasn't been started

sudo systemctl start mysql

if you want it to be automatically started after each reboot, then run this:

sudo systemctl enable mysql


-- 

  //Aho

Back to comp.databases.mysql | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Naive User pinnerite <pinnerite@gmail.com> - 2022-01-15 22:56 +0000
  Re: Naive User "J.O. Aho" <user@example.net> - 2022-01-16 00:44 +0100
    Re: Naive User pinnerite <pinnerite@gmail.com> - 2022-01-16 09:18 +0000
      Re: Naive User The Natural Philosopher <tnp@invalid.invalid> - 2022-01-16 09:59 +0000
        Re: Naive User pinnerite <pinnerite@gmail.com> - 2022-01-16 22:05 +0000

csiph-web