Re: Naive User

"J.O. Aho" <[email protected]> Sun, 16 Jan 2022 00:44:44 +0100
Newsgroups comp.databases.mysql
Message-ID <[email protected]>
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