-
- command
apt install mariadb-server
sudo apt purge autoremove
No account password is required for local login, and IP / etc / MySQL can be remotely connected/ mariadb.conf . D directory, comment out this line or IP change
instead
-
- change the password of root
update mysql.user set password=password('ChinaSkill20!') where user='root';
flush privileges;
Create a remote user and set a password
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
flush privileges;
UNIX socket authentication is used by default. Some phpMyAdmin will have “access denied” error when logging in. We can use native MySQL authentication
update mysql.user set plugin = 'mysql_native_password' where User='root';
flush privileges;
restart
systemctl restart mariadb
Read More:
- How To Install WordPress with LAMP on Ubuntu 16.04
- How to Install PSSH in Centos7
- Mac: How to Install homebrew, nginx, PHP and MySQL
- How To Install Java with Apt-Get on Ubuntu 16.04
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- How to Install FFmpeg on Linux
- Docker: How to Install Nacos
- How to Solve program install error 0x80070660
- How to Install Mongdb4.X in Windows
- How to Install MongoDB Community Edition Manually on mac and linux
- How to install PIL in Python 3
- Macos: How to Solve cocoapods Install Error
- How to Sole cmd Install typeScript Error
- How to Solve Cython-bbox pip install Error
- How to Solve Oracle 11g Install Stuck 86% error on Linux
- [Solved] Acrobat DC 2022 Install Error: Cannot Install Acrobat Update Service
- Install the mxnet-gpu version to solve the problem of “OSError: libnccl.so.2” when importing
- COLMAP Install Error: Undefined reference to libtiff4.0 [Solved]
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Mydumper Install Error: None of the required ‘glib-2.0’/’gthread-2.0’ found