当前位置: 首页 > 知识库问答 >
问题:

如何启动塔兰托控制台?

丁曦哲
2023-03-14

我已经安装了tarantool(tarantool_box)和tarantool客户端。我可以开始塔兰托了

/usr/bin/tarantool_box --background

但是当我试图连接到服务器时

/usr/bin/tarantool

我只看到管理员控制台

localhost>

并且只能使用一些命令和类似sql的查询。我无法使用《用户指南》中的任何命令,并且几乎所有以lua开头的命令都会失败:

lua console = require('console')
---
error: 'Lua error: [string "local console = require(''console'')"]:1: attempt to call global ''require'' (a nil value)'
...

共有2个答案

贺皓
2023-03-14

通常我对tarantool/tarantool版本的docker使用此命令:

tarantoolctl connect 3301

但您也可以直接使用docker

docker exec -it tarantool_1 console
赵刚豪
2023-03-14

解决方案,清洁Debian喘息,发现tarantool githubhttps://github.com/tarantool/tarantool

sudo apt-get update
sudo apt-get upgrade

更新后

sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install libreadline-dev
sudo apt-get install cmake
sudo git clone https://github.com/tarantool/tarantool
cd ./tarantool
sudo git submodule update --init --recursive
sudo cmake .
sudo make

构建后

sudo ./tarantool/src/tarantool
 类似资料:
  • 我们正在使用Tarantool 1.5,对配置选项有疑问:如果我们设置以下选项: 这是否意味着fsync(2)根本不会被调用?

  • 有什么方法可以命名与SQL中的列相似的字段吗? 这个想法是,我可能想插入一个客户记录:-姓名-电话-电子邮件-网站 某些字段有时可能存在,而其他字段可能不存在,并且它们可能以不同的顺序出现。 是否有其他方法将记录插入到按字段名引用它们的元组中? 伪代码的东西,比如:

  • 使用tarantool,为什么我在日志这个奇怪的消息:

  • The ConsoleLauncher is a command-line Java application that lets you launch the JUnit Platform from the console. For example, it can be used to run JUnit Vintage and JUnit Jupiter tests and print test

  • 有几种方法可以在中获得时间: 使用模块 但是什么是处理日期的正确方法呢?

  • 过去几天我一直在处理phpmyadmin。一切工作都很好,直到我看到这个问题,但昨天没有。 我不明白的是,这几天问题都不在那里,所以我真的不知道出了什么问题。 我尝试从我的目录中删除文件夹,但每次我在xampp控制面板上启动mysql,它都会一次又一次地出现。 谁能给我一个妥善的解决办法吗?我会非常感激的。谢谢你。