Document directory
Introduction to important Linux MySQL directories and logon passwords
Introduction to important Linux MySQL directories and logon passwords
Before giving you a detailed introduction to Linux MySQL, first let you know about
Part 1:Http://www.bkjia.com/Article/201208/151763.htmlRootPermission SecurityConfigurationSudoSudo is secure and reliable only after careful configuration. The sudo configuration file is/etc/sudoers. You can edit this file to grant specific users
Modify the root password method under LinuxLog in as root, execute:passwd User NameThen follow the prompts, enter a new password, enter the new password again, the system will prompt to successfully change the password.Specific examples are as
Log in as root, execute:
Copy Code code as follows:
# passwd username (change password)
# Useradd User name (add user)
The specific examples are as follows:
Copy Code code as follows:
[Root@bogon ~]# passwd
How to solve the problem of forgetting the root password in Mysql and forgetting the root password in mysqlMethod 1:MySQL provides command line parameters for skipping access control and starts the MySQL server by running the following
1. First enter "service mysqld status" To view the current MySQL service status, showing that the MYSQLD service is running.650) this.width=650, "src=" Http://filesimg.111cn.net/2017/07/04/2017070415091576.png "alt=" in detail on Linux (CentOS)
Linux root password retrieval methodsLinux Root has the highest power. Once the root password is forgotten or stolen, it is a headache. How can I retrieve the root password? I will summarize it as follows:(1) Linux system password cracking
1. Press
Change the root password in Ubuntu Linux with an unknown root Password
A simple and practical way to change the root password in the history of Ubuntu/Linux without knowing the root password
Generally, there are two steps:
1. Enter the read/write
Linux mysql 5.6: ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: NO), 28000 denied
Recently, mysql 5.6 has encountered the following problems.
Thank you for sharing the original article:
CASE Environment:
Operating
Linux Root Password retrieval method One 1th step: In the system into a single user state, directly with passwd root to change. 2nd Step: Boot the system with the installation CD, the Linux rescue State, the original/partition hook up, as follows:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.