惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
博客园_首页
博客园 - 【当耐特】
V
Visual Studio Blog
博客园 - 叶小钗
月光博客
月光博客
美团技术团队
J
Java Code Geeks
小众软件
小众软件
Y
Y Combinator Blog
博客园 - Franky
Martin Fowler
Martin Fowler
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
Microsoft Security Blog
Microsoft Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG

博客园 - 南桥一梦

Windows Hyper-v 开启嵌套虚拟化的方法 MySQL命令记录 Windows Server 2019 安装Windows Docker和.NET Framework 4.8镜像 Windows Docker 固定容器IP地址 透明网络驱动程序 MySQL优化 右键菜单怎样添加“在此处打开命令提示符”选项 MemSQL与MySQL不兼容问题总结 Ubuntu Server 18.04 修改网路配置 Metro UI 菜单(Winform) Windows Server 2008 系统设置集合 Ubuntu 12.04和MySQL5.5安装 MySQL 参数设置 VS中如何自定义新建文件模板(添加自定义版权信息) Microsoft Windows Server 2008 R2 CHS 官方最新正版下载 在Hyper-V中安装和配置Ubuntu Server 11.04 10.10 解决WebClient或HttpWebRequest首次连接缓慢问题 Ubuntu MySQL Master-Master InnoDb Utf-8 配置文件 Ubuntu MySQL热备份安装 HOWTO:为 Hyper-V 配置外部网络
How to Install MemSQL
南桥一梦 · 2018-05-04 · via 博客园 - 南桥一梦

MemSQL runs natively on 64-bit Linux operating systems. Your system hardware must have at least 4 CPU cores and 8 GB of RAM, and you must using a supported distribution of Linux. For more information, see our System Requirements.

1

Download the MemSQL tar file

Open the Terminal App on your computer and execute theses commands. They download the MemSQL tar file to the /tmp directory (or a path of your own choosing).

cd /tmp
wget http://download.memsql.com/memsql-ops-6.0.10/memsql-ops-6.0.10.tar.gz

2

Extract the contents of the tar file

This command extracts the MemSQL executable from the tar file to a folder with the same name.

tar zxvf memsql-ops-6.0.10.tar.gz

3

Run the installer script and deploy a simple cluster

These commands navigate to the extracted folder and then run an installer script that installs MemSQL as a simple cluster with one master aggregator and one leaf.

cd memsql-ops-6.0.10
sudo ./install.sh --simple-cluster

4

Connect to the MemSQL client

memsql

然后你可以使用 mysql 的命令行或者是 mysql 的客户端工具连接到 MemSQL,跟连接到 MySQL 的方法一样,例如:

$ mysql -u root -h 127.0.0.1 -P 3307 --prompt="memsql> "

你也可以使用一些图形化的数据库管理工具来连接。

使用 MemSQL 跟使用 MySQL 没有区别:)

删除:

memsql-ops memsql-delete 可删除数据库