您的位置:首页 > 博客中心 > 数据库 >

如何在Ubuntu 14.04 LTS上安装MariaDB

时间:2022-03-14 02:45

MariaDB是一个开源数据库且100%与MySQL兼容,目标是替代MySQL数据库。

MariaDB的背景 :

2008年,MySQL被后来被Oracle在2010年收购的 Sun Microsystems 收购了。 最初被Sun公司的收购由于符合项目的需要而受到MySQL社区的欢呼,但是这种情绪并没有持续太久,接下来被Oracle的收购,不幸期望远远低于预 期。许多MySql的开发者离开了Sun和Oracle公司开始新的项目。在他们中间就有MySQL的创建者以及项目长期技术带头人之一的 Michael ‘Monty’ Widenius 。Monty和他的团队创建了MySQL的一个fork版本并且命名它为 MariaDB 。

gxlsystem.com,布布扣

从命令行连接到MariaDB :

  1. linuxtechi@mail :~ $  - uroot - p
  2. Enter password :
  3. Welcome to the MariaDB monitor . Commands end with ; or \g .
  4. Your MariaDB connection id is 40
  5. Server version : 10.0 . 14 - MariaDB - 1 ~ trusty - log  . org binary distribution
  6. Copyright ( c ) 2000 , 2014 , Oracle , SkySQL Ab and others .
  7. Type ‘help;‘ or ‘\h‘ for help . Type ‘\c‘ to clear the current input statement .
  8. MariaDB [( none )]>

MariaDB 服务

  1. $ sudo / etc / init . d / mysql stop
  2. $ sudo / etc / init . d / mysql start
  • 相关文章推荐:
  • 本文来自:
  • 本文链接:

热门排行

今日推荐

热门手游