按照视频和文档教程,分别在麒麟v10和centos上都无法成功启动OceanBase,确定这些教程都经过验证的吗?
那要看什么原因啊。内存不足,磁盘空间不足,那和教程有什么关系呢?
具体问题具体分析,上整个操作过程,才能分析分析原因
亮出你的日志
docker logs obstandalone grep ERRERROR] OBD-5000: create tenant test replica num=l,zone list=(‘zonel’),primary zone=‘RANDOM’,resource pool list=(‘test pool’)set ob tcp invited nodes=’%’,ob compatibility mode = ‘mysgl’ execute failedERROR] oceanbase-ce-py script create tenant-4.0.0.0 RuntimeError: error() missing 1 required positional argument: 'msg[ERROR] obagent start failed
日志如下:docker logs obstandalone grep ERRERROR] OBD-5000: create tenant test replica num=l,zone list=(‘zonel’),primary zone=‘RANDOM’,resource pool list=(‘test pool’)set ob tcp invited nodes=’%’,ob compatibility mode = ‘mysgl’ execute failedERROR] oceanbase-ce-py script create tenant-4.0.0.0 RuntimeError: error() missing 1 required positional argument: 'msg[ERROR] obagent start failed
好不容易启动成功,要么提示没有该数据库,要么提示密码。。。
docker exec -it obstandalone ob-mysql sysogin as rootasys
Command is: obclient -h127.1 -urootasys -A -Doceanbase -P2881ERROR 1049 (42000): Unknown database oceanbase"oot@ykf-vmwarevirtualplatform:-# docker exec -it obstandalone ob-mysql testogin as testatest
Command is: obclient -h127.1 -utestatest -A -Dtest -P2881ERROR 1045 (42000): Access denied for user ‘test’@'xxx.xxx.xxx.xxx(using password: N0