Groups | Search | Server Info | Login | Register


Groups > comp.databases.mysql > #7620

Re: Naive User

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From pinnerite <pinnerite@gmail.com>
Newsgroups comp.databases.mysql
Subject Re: Naive User
Date Sun, 16 Jan 2022 09:18:02 +0000
Organization A noiseless patient Spider
Lines 35
Message-ID <20220116091802.883e892d7fee8398c28544d9@gmail.com> (permalink)
References <20220115225605.ab6d3b6942db5cbec4ee231b@gmail.com> <j4h4jcFipgaU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Info reader02.eternal-september.org; posting-host="6ca530beb6e11c04bccfbf3ecfdf11fb"; logging-data="28045"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wGwF7O3qKf6WCS/sFihEnJSHPDvE0bEs="
Cancel-Lock sha1:lgDZBljA8Qj/P+4EgxzRKOptPNY=
X-Newsreader Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
Xref csiph.com comp.databases.mysql:7620

Show key headers only | View raw


On Sun, 16 Jan 2022 00:44:44 +0100
"J.O. Aho" <user@example.net> wrote:

> 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

That still doesn't answer my question. 

What directs MySQL to look to var/run/mysqld to locate the socket file?

Alan

-- 
Mint 20.3, kernel 5.4.0-95-generic, Cinnamon 5.2.7
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

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