MariaDB for Ubuntu 16.04 TLS

admin 2022年5月17日11:30:46评论45 views字数 479阅读1分35秒阅读模式

Install

apt-get install mariadb-server

Init Set Password

mysql_secure_installation
  • Enter current password for root (enter for none):Enter
  • Set root password? [Y/n] y
  • Remove anonymous users? [Y/n] y
  • Disallow root login remotely? [Y/n] y
  • Remove test database and access to it? [Y/n] y
  • Reload privilege tables now? [Y/n] y

Error #1

[Warning] ‘user’ entry root@localhost’ has both a password and an authentication plugin specified. The password will be ignored.

update mysql.user set plugin='' where User='root';
flush privileges;

FROM : virzz.com | Author:Virink

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2022年5月17日11:30:46
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   MariaDB for Ubuntu 16.04 TLShttp://cn-sec.com/archives/1012976.html

发表评论

匿名网友 填写信息