• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

Installing MariaDB on Ubuntu_MySQL

mysql 搞代码 4年前 (2022-01-09) 16次浏览 已收录 0个评论

MariaDBUbuntu

MariaDB is termed a drop in replacement for MySQL – that means that you can deploy MariaDB without changing all of your client applications as MariaDB is compatible with most MySQL features and commands.

MariaDB was forked from MySQL when Oracle took over Sun Microsystems in 2010 and was born of the fear that Oracle would not adhere to the development ethos that was used by Sun. I discuss this in more detail in my blog post on MySQL alternative . There are a few gotchas with the new versioning system used by MariaDB and I’d recommend reading the blog post to familiarise yourself.

MariaDB has not yet made it into Ubuntu’s main repositories but is available as an add-in repository from MariaDB directly.

Installing MariaDB on Ubuntu couldn’t be easier – follow one of the below instructions for your version of Ubuntu.

Install MariaDB 10 on Ubuntu 14.04

Use the below commands to add the MariaDB repository to your Ubuntu 14.04 installation.

apt – get install software – properties – common

apt – key adv — recv – keys — keyserver hkp : / / keyserver .ubuntu .com : 80 0xcbcb082a1bb943db

add – apt – repository ‘deb http://mirror.stshosting.co.uk/mariadb/repo/10.0/ubuntu trusty main’

Run the following commands to install MariaDB.

apt – ge

本文来源gao!%daima.com搞$代*!码网1

t update

apt – get install mariadb – server

Install MariaDB 10 on Ubuntu 12.04

Use the below commands to add the MariaDB repository to your Ubuntu 14.04 installation.

apt – get install python – software – properties

apt – key adv — recv – keys — keyserver hkp : / / keyserver .ubuntu .com : 80 0xcbcb082a1bb943db

add – apt – repository ‘deb http://mirror.stshosting.co.uk/mariadb/repo/10.0/ubuntu precise main’

Run the following commands to install MariaDB.

apt – get update

apt – get install mariadb – server

Install a different version of MariaDB or a use a different target operating system

MariaDB supports all common Linux distributions and they maintain a repository for each. You can see the full list of distro repositories on their repository configuration tool .

Share and Enjoy


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Installing MariaDB on Ubuntu_MySQL

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址