LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-12-2016, 02:58 PM   #1
Positive1
LQ Newbie
 
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
Question Problem with MySQL install on virt CentOS,no /var/lib/mysql/mysql.sock , systemctl start mysqld.service dont run the service


No sock in /var/lib/mysql/mysql.sock , systemctl start mysqld.service dont run the service
And the outputs:
systemctl start mysqld.service
Failed to start mysqld.service: Unit mysqld.service failed to load: No such file or directory.

ls -al /var/lib/mysql/
ls: cannot access /var/lib/mysql/: No such file or directory

yum list installed | grep mysql
mysql-connector-java.noarch 1:5.1.25-3.el7 @base
mysql-connector-odbc.x86_64 5.2.5-6.el7 @base
qt-mysql.x86_64 1:4.8.5-12.el7_2 @updates
Guys, could you give me an idea why this installation can't be done.
 
Old 08-13-2016, 03:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,526

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Hi and welcome to LQ,

Centos7 is coming with MariaDB.
If it's not already installed, use this howto

Regards

Last edited by bathory; 08-13-2016 at 03:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] MySQL Start Problem::::socket '/var/run/mysqld/mysqld.sock' (2) arun-linux Linux - Software 6 11-29-2012 06:56 AM
HTTPD: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' markseger Fedora - Installation 2 02-09-2011 11:53 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ajeshg Linux - Server 4 06-16-2010 04:46 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) sawgata Linux - Newbie 9 06-02-2010 06:31 AM
MySQL 5.0.67: Unable to install & run. Error /var/lib/mysql/mysql.sock' (2) peteyperson Linux - Server 2 03-04-2009 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration