- 2015.07.24
- Installing MariaDB 10 with YUM
- vim /etc/yum.repos.d/MariaDB.repo
- # MariaDB 10.0 CentOS repository list - created 2015-07-24 02:31 UTC
- # http://mariadb.org/mariadb/repositories/
- [mariadb]
- name = MariaDB
- baseurl = http://yum.mariadb.org/10.0/centos6-amd64
- gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
- gpgcheck=1
- yum -y install MariaDB-server MariaDB-client
- /etc/init.d/mysql start
- vim /etc/yum.repos.d/MariaDB.repo
- Installing MariaDB 10 with YUM
- 2015.03.13
- installation
- groupadd mysql
- useradd -g mysql mysql
- cd /usr/local
- download binary tarball from https://downloads.mariadb.org/
- tar -zxvpf /path-to/mariadb-VERSION-OS.tar.gz
- ln -s mariadb-VERSION-OS mysql
- cd mysql
- ./scripts/mysql_install_db --user=mysql
- solution for the error
- libaio.so.1: cannot open shared object file
- yum -y install libaio
- libaio.so.1: cannot open shared object file
- solution for the error
- chown -R root .
- chown -R mysql data
- export PATH=$PATH:/usr/local/mysql/bin/
- cd support-files/
- cp mysql.server /etc/init.d/mysql
- chmod +x /etc/init.d/mysql
- chkconfig --add mysql
- chkconfig --level 345 mysql on
- service mysql start / stop
- management
- set root password
- mysql -u root
- use mysql;
- update user set password=PASSWORD("new-password") where User='root';
- flush privileges;
- exit;
- granting user connections from remote hosts
- GRANT ALL PRIVILEGES ON *.* TO 'root'@'remote host' IDENTIFIED BY 'password' WITH GRANT OPTION;
- set root password
- reference
- installation
Wednesday, July 29, 2015
MariaDB
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.