LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-03-2018, 03:48 PM   #1
5huvoo
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Rep: Reputation: Disabled
sudo cp -rp ./mysqld ./mysqld.bak cp: cannot stat './mysqld': No such file or directory


i forgot my mysql root password and these problems occurs
 
Old 03-03-2018, 06:30 PM   #2
tranphat
Member
 
Registered: Dec 2013
Posts: 86

Rep: Reputation: Disabled
Refer the section Recover MySQL Root Password here https://www.howtoforge.com/setting-c...root-passwords
 
Old 03-05-2018, 07:50 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 5huvoo View Post
i forgot my mysql root password and these problems occurs
The error you posted in the subject line (you really need to post these things in the question, though):
Quote:
Originally Posted by 5huvoo
sudo cp -rp ./mysqld ./mysqld.bak cp: cannot stat './mysqld': No such file or directory
...has nothing to do with your mysql root password. You're trying to copy a directory...and the message is VERY CLEARLY telling you the mysqld directory is not in your current folder. What you're trying to copy isn't there....so go into the root folder where that directory IS, and run that command.
 
Old 03-05-2018, 08:40 AM   #4
5huvoo
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks
 
Old 03-06-2018, 02:07 PM   #5
5huvoo
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Disable location service

how can i disable location service ?
 
Old 03-06-2018, 02:10 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 5huvoo View Post
how can i disable location service ?
Open a new thread for a new question; don't tack on new ones to a non-related post that you've already closed.
 
  


Reply



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
mysqld from pid file /var/run/mysqld/mysqld.pid ended gabsik Linux - Server 3 12-11-2016 10:15 AM
mysqld and selinux? cant start mysqld willc86 Linux - Software 1 04-11-2015 09:19 AM
[SOLVED] MySQL Start Problem::::socket '/var/run/mysqld/mysqld.sock' (2) arun-linux Linux - Software 6 11-29-2012 06:56 AM
[SOLVED] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' Burningmace Linux - Server 5 09-06-2012 01:29 AM
Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2) thoufiq Linux - Server 4 04-19-2011 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:25 AM.

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
Open Source Consulting | Domain Registration