Tag:New password

  • Centos7 retrieve root password

    Time:2022-7-16

    In the boot interface, press“E” enter the editing interface   Press“E” enter the interface shown in the figure below, find the line beginning with “linux16”, and add “init=/bin/sh” after the line    After entering, press the shortcut keyCtrl+x enter single user mode Then enter the last lineMount -o remount, RW / note that there are […]

  • MySQL 8.0 password management strategy (I)

    Time:2022-6-7

    Author: Sri sakthivel Original link:https://www.percona.com/blog/… MySQL 8.0 has many improvements in password management. This article will introduce the following two features. Password reuse policy Generate random password |1 password reuse policy This policy simply means that when setting a new password, you can restrict and prohibit the use of the used password. There are two […]

  • Some notes on using procomponents and antd

    Time:2022-4-17

    Antd is a commonly used react framework What are procomponents? For a rookie who has developed this component for half a year, what is procomponents,It’s the enhanced integrated version of antd. It’s highly integrated and easy to use (it’s easy for me as a rookie to step on the pit). Whether it’s elementui vant antd, […]

  • About installing Ubuntu server system for raspberry pie

    Time:2022-3-21

    explain: 1. My own Linux is Ubuntu, and I also want to build my own small server / NAS with raspberry pie 2. Baidu can install Ubuntu mate system in raspberry pie, so I quickly installed it, but I didn’t have a screen, so I couldn’t boot the system or use SSH, so I installed […]

  • Mysql database reinitialization

    Time:2022-3-12

    preface In our daily development process, we may encounter the situation that various MySQL services cannot be started. When various MySQL services still cannot be solved after Baidu and Google, we can consider reinitializing mysql. Simply put, reset “restore factory settings”. After reset, all data will be cleared and lost, so you must back up […]

  • Ubuntu14. 04 log in with root account

    Time:2022-3-4

    0x00 Preface When using the Ubuntu system, there is an annoying thing, involving the issue of permissions, which is alwayssudo, how good it is to log in directly with the root account (root login is not supported by default) 0x01 method 1. Add password for root user Execute command:Sudo passwd root enter, enter the new […]

  • Ubuntu installing MariaDB

    Time:2022-1-20

    I have nothing to do. I’m going to pretend to be a MariaDB. I found a tutorial on the Internet 1. Set MariaDB warehouse sudo apt-get install software-properties-common 2. Get key: sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db 3. Add the repository of MariaDB: sudo add-apt-repository ‘deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main’ 4 update local warehouse: sudo […]

  • Installing and configuring MySQL for Linux

    Time:2022-1-6

    1. Prepare MySQL installation package. Download address on the official website:https://downloads.mysql.com/archives/community/ 2. Upload the MySQL installation package to the / opt directory of the Linux server 3、XShell连上Linux服务器 4、运行下面命令查看是否已安装MySQL rpm -qa|grep mysql 5、运行下面命令查看是否已安装mariadb rpm -qa|grep mariadb 本机输出:mariadb-libs-5.5.65-1.el7.x86_64 可使用下面命令卸载 yum remove mariadb-libs-5.5.65-1.el7.x86_64 6、切换到/opt目录,解压MySQL压缩包,重命名 cd /opt tar -zxvf mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz mv mysql-5.7.27-linux-glibc2.12-x86_64 mysql 7、创建mysql用户组和用户,创建存放日志和数据目录,修改目录所属用户 groupadd mysql useradd mysql -g […]

  • CentOS7. Install MySQL 5 in 3 six

    Time:2022-1-5

    In centos7 Install MySQL in 4 Installing MySQL using rpm 1. Download Download address:MySQL official website Download the installation package of the bundle version, as shown below: 2. Installation Unpack the installation package and generally install sever and client to meet most requirements When installing the server, it should be noted that centos7 comes with […]

  • CentOS 8.3 cannot log in to the management database after MySQL 8.0.21 is installed

    Time:2021-12-1

    The solution steps are summarized as follows: 1) Edit the MySQL configuration file to allow login without password:  vim /etc/my.cnf  Add the following to the configuration file: [mysqld] bind-address=0.0.0.0 skip-grant-tables   2) Restart mysqld to make the configuration effective: systemctl restart mysqld    3) Enter the MySQL command line interactive mode, reset the permission and […]