(solved) Mysql installed but wont run

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
charvey
Level 1
Level 1
Posts: 38
Joined: Mon Jun 05, 2017 1:05 pm

(solved) Mysql installed but wont run

Post by charvey »

I installed Mysql last week and it started with out me doing anything. I ran it a week and then my drive crashed. i reformatted my drive and re-installed Mysql and NOW it wont start. Mysql work bench says there are no connections to be found. from the command line i get : mysql Ver 14.14 Distrib 5.7.28, for Linux (x86_64)

try to start : chris@chris-HP-Compaq-6005-Pro-MT-PC:~$ sudo service mysql start
Failed to start mysql.service: Unit mysql.service not found.

chris@chris-HP-Compaq-6005-Pro-MT-PC:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

chris@chris-HP-Compaq-6005-Pro-MT-PC:~$ sudo mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

what happened? i have a backup for my data base but does no good if the server wont run.
Linux mint 19.3
charvey
Last edited by charvey on Sat Dec 28, 2019 11:36 am, edited 1 time in total.

Kadaitcha Man
Level 7
Level 7
Posts: 1575
Joined: Mon Aug 27, 2012 10:17 pm

Re: Mysql installed but wont run

Post by Kadaitcha Man »

charvey wrote:
Thu Dec 26, 2019 9:36 pm
what happened?
It's not installed correctly. Purge it and try again.
It's pronounced kad-eye-cha, not kada-itcha.

charvey
Level 1
Level 1
Posts: 38
Joined: Mon Jun 05, 2017 1:05 pm

Re: Mysql installed but wont run

Post by charvey »

i purged the whole system....wiped and re installed mint. will try again in a few min to install mysql and work bench. I did this 2 days ago with no issues. makes no sense that i have all these issues with a straight forward install . will up date later today.

Post Reply

Return to “Software & Applications”