search
HomeDatabaseMysql Tutorial[翻译]Ubuntu 14.04 (Trusty) Server 安装 MariaDB

MariaDB数据库管理系统是MySQL的一个分支,MariaDB努力想成为那些寻求专业的、健壮的、可扩展的、可靠的的SQL数据库服务的理想选择

MariaDB数据库管理系统是MySQL的一个分支,MariaDB努力想成为那些寻求专业的、健壮的、可扩展的、可靠的的SQL数据库服务的理想选择。为了达成这个目标,,MariaDB基金会与开源社区的用户和开发者以自由和开源软件的精神共同开发着MariaDB数据库管理系统,并且以保证可靠性的前提下来开发新的功能的方式来发布这个软件。

Ubuntu 14.04 (Trusty) Server 安装 MariaDB

在Ubuntu 14.04 (Trusty) Server上安装MariaDB 打开一个终端并键入以下命令
  • 对于marisDB 10.0:
  • sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository ‘deb trusty main'

    一旦软件源的密钥导入到你的系统和MariaDB的软件源被添加好以后请运行以下命令:

    sudo apt-get update sudo apt-get install mariadb-server
  • 对于marisDB 5.5:
  • 在安装MariaDB的过程中会要求输入你的root密码,请输入你的root密码并且记住它。

    在安装完成以后你可以用如下的命令来查看你安装MariaDB的版本号

        mysql --v sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository ‘deb trusty main'

    同理一旦软件源的密钥导入到你的系统和MariaDB的软件源被添加好以后请运行以下命令:

    sudo apt-get update sudo apt-get install mariadb-server

    想了解更多的关于MariaDB请访问如下的网站:MariaDB documentation

    在 CentOS/RHEL/Scientific Linux 6 下安装 LAMP (Apache with MariaDB and PHP)

    MariaDB Proxy读写分离的实现

    Linux下编译安装配置MariaDB数据库的方法

    CentOS系统使用yum安装MariaDB数据库

    安装MariaDB与MySQL并存

    Ubuntu 上如何将 MySQL 5.5 数据库迁移到 MariaDB 10 

    MariaDB 的详细介绍:请点这里
    MariaDB 的下载地址:请点这里

    英文原文:Install MariaDB on Ubuntu 14.04 (Trusty) Server

    译者:马达加斯加的企鹅

    本文由 Linux公社翻译组 原创翻译  Linux公社推出

    本文永久更新链接地址:

    linux

    Statement
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    How do you alter a table in MySQL using the ALTER TABLE statement?How do you alter a table in MySQL using the ALTER TABLE statement?Mar 19, 2025 pm 03:51 PM

    The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

    How do I configure SSL/TLS encryption for MySQL connections?How do I configure SSL/TLS encryption for MySQL connections?Mar 18, 2025 pm 12:01 PM

    Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

    How do you handle large datasets in MySQL?How do you handle large datasets in MySQL?Mar 21, 2025 pm 12:15 PM

    Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

    What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?Mar 21, 2025 pm 06:28 PM

    Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

    How do you drop a table in MySQL using the DROP TABLE statement?How do you drop a table in MySQL using the DROP TABLE statement?Mar 19, 2025 pm 03:52 PM

    The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

    How do you represent relationships using foreign keys?How do you represent relationships using foreign keys?Mar 19, 2025 pm 03:48 PM

    Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

    How do you create indexes on JSON columns?How do you create indexes on JSON columns?Mar 21, 2025 pm 12:13 PM

    The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

    How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?Mar 18, 2025 pm 12:00 PM

    Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)

    See all articles

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    AI Hentai Generator

    AI Hentai Generator

    Generate AI Hentai for free.

    Hot Article

    R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
    3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
    R.E.P.O. Best Graphic Settings
    3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
    R.E.P.O. How to Fix Audio if You Can't Hear Anyone
    3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

    Hot Tools

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    MantisBT

    MantisBT

    Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    Safe Exam Browser

    Safe Exam Browser

    Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

    PhpStorm Mac version

    PhpStorm Mac version

    The latest (2018.2.1) professional PHP integrated development tool