Guest User

Untitled

a guest
Nov 15th, 2016
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $ vi /etc/yum.repos.d/MariaDB.repo
  2. [mariadb]
  3. name = MariaDB
  4. baseurl = http://yum.mariadb.org/5.5/centos6-amd64
  5. gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
  6. gpgcheck=1
  7.  
  8. update user set password=password(‘myroot’) where user=’root’;
  9. grant all privileges on *.* to ‘root’@’%’ identified by ‘myroot’ with grant option;
Add Comment
Please, Sign In to add comment