LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2016, 06:52 AM   #1
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 245

Rep: Reputation: Disabled
Cant start MariaDB


I have the latest release of Centos 7 and MariaDB. I wanted to change the password for the database users and I run this command:

Code:
mysqld_safe --skip-grant-tables --skip-networking
I pressed Enter on my PC and I logged out by closing Putty as it was taking a while and I have changed my mind regarding the command.

Now, the MariaDB is not working and I cant start it with:

Code:
systemctl mariadb start
###Edit:
I run "ps aux | grep mysql" and I got this:

http://prnt.sc/cs14tp

I was thinking about killing these two manually and then trying again with "systemctl start mariadb". I am not a Linux specialist, so I am not sure. I would not want to get it worse than it is now.

###Edit 2:
This seemed to help:

mysqladmin -u root -p shutdown
<password here>
systemctl start mariadb

RESOLVED!

Last edited by AdultFoundry; 10-10-2016 at 07:39 AM.
 
Old 10-10-2016, 09:54 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,243

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Please use the Thread Tools to mark as SOLVED
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to install MariaDB AdultFoundry Linux - Newbie 11 10-31-2015 04:10 AM
[SOLVED] MariaDB server refuses to start UltrasonicMadness Linux - Software 5 09-29-2015 08:49 PM
MariaDB ? dmchess Linux - Software 1 04-04-2015 12:06 PM
Keep using MySQL instead of MariaDB kelaskakap Slackware 17 12-13-2013 07:43 PM


All times are GMT -5. The time now is 12:12 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