MariaDB社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2259|回复: 2
打印 上一主题 下一主题

mac 下 安装mariadb的方式

[复制链接]
跳转到指定楼层
1#
发表于 2016-8-17 22:18:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
大家好,我在使用mac安装的过程中出现了一个问题,参考如下的官网步骤


Here are the commands to run to install MariaDB on your Ubuntu system:

sudo apt-get install software-properties-commonsudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirrors.neusoft.edu.cn/mariadb/repo/10.0/ubuntu xenial main'

Once the key is imported and the repository added you can install MariaDB with:

sudo apt updatesudo apt install mariadb-server

See Installing MariaDB .deb Files for more information and for instructions on installing MariaDB Galera Cluster.

You can also create a custom MariaDB sources.list file. To do so, after importing the signing key as outlined above, copy and paste the following into a file under /etc/apt/sources.list.d/(we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.listfile.

# MariaDB 10.0 repository list - created 2016-08-17 13:43 UTC# http://downloads.mariadb.org/mariadb/repositories/deb [arch=amd64,i386] http://mirrors.neusoft.edu.cn/mariadb/repo/10.0/ubuntu xenial maindeb-src http://mirrors.neusoft.edu.cn/mariadb/repo/10.0/ubuntu xenial main

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播 分享分享 分享淘帖 顶 踩
2#
 楼主| 发表于 2016-8-17 22:20:13 | 只看该作者
粘错了。。。。尴尬 参考步骤是这个:https://mariadb.com/blog/install ... 0-mac-os-x-homebrew
3#
 楼主| 发表于 2016-8-17 22:25:39 | 只看该作者
可是在执行到第8步骤的时候出现了 启动错误,mysql.server start
可关键的是,没有错误信息,只有一个Error。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|MariaDB社区 ( 京ICP备07012489号    |
业务联系: QQ:48474881; 邮箱: 48474881@qq.com; 电话:13911732319
声明:本站部分文章是网友转载,若未经作者同意或署名有误,请联系网站管理员。

GMT+8, 2024-5-17 05:16 , Processed in 0.056981 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表