Linux Source Installation mariadb 10.0.16

Source: Internet
Author: User

Tag:har   iad   scripts    compilation mysql   curses    col   read   app   rac   

CMake software  tar-zxvf cmake-2.8.8.tar.gzcd cmake-2.8.8./bootstrapmake && make install   dependency pack   Yum Install Ncurses-devel-yyum install pcre Pcre-devel-yyum Install gcc*-y   Create user  groupadd Mysqluseradd- g MySQL Mysqlecho "Oracle" |PASSWD--stdin mysql   Create directory  mkdir/application/mariadb10.0.16/{data,tmp}- Pchown-r mysql:mysql/application/mariadb10.0.16    Decompression Compilation MYSQL TAR-ZXVF Mariadb-10.0.16.tar.gzchown-r root:root mariadb-10.0.16chmod-r 755 mariadb-10.0.16cd mariadb-10.0.16cmake. -dcmake_install_prefix=/application/mariadb10.0.16-dmysql_datadir=/application/mariadb10.0.16/data-dmysql_unix _addr=/application/mariadb10.0.16/tmp/mysql.sock-dwith_innobase_storage_engine=1  -DWITH_ARCHIVE_STPRAGE_ Engine=1  -dwith_blackhole_storage_engine=1  -dwiyh_readline=1-dwiyh_ssl=system-dvith_zlib=system- Dwith_lobwrap=0-ddefault_charset=utf8-ddefault_collation=utf8_general_ci  make && Make Install   creating a soft connection  ln-s/application/mariadb10.0.16/application/mysql   initializing the database  / application/mariadb10.0.16/scripts/mysql_install_db--basedir=/application/mysql--datadir=/application/mysql/ Data--user=mysql    add/application/mysql/bin to environment variable   Add the following in/etc/profile export path=/ Application/mysql/bin: $PATH  

Linux Source Installation mariadb 10.0.16

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.