jvaidya / vitess-tools Goto Github PK
View Code? Open in Web Editor NEWVitess Tools
License: Apache License 2.0
Vitess Tools
License: Apache License 2.0
Hi
the script /opt/vitess/vitess-deployment/bin/vttablet-up.sh fail to find mysqld, I have set the following:
VTDATAROOT=/vtdataroot
VTTOP=/opt/vitess/src/vitess.io/vitess
VTROOT=/opt/vitess
VT_MYSQL_ROOT=/sbin
VTPORTSTART=15000
which mysqld
/usr/sbin/mysqld
[vitess@vitess001 ~]$ ll /usr/sbin/mysqld
-rwxr-xr-x. 1 root root 24597920 Feb 16 10:12 /usr/sbin/mysqld
[vitess@vitess001 ~]$ ll /sbin/mysqld
-rwxr-xr-x. 1 root root 24597920 Feb 16 10:12 /sbin/mysqld
script path:
/opt/vitess/vitess-deployment/bin/vitess001.taboolasyndication.com
[vitess@vitess001 vitess001.taboolasyndication.com]$ cat mysqld-up-instance-102.sh
#!/bin/bash
export VTDATAROOT=/vtdataroot
export VTROOT=/opt/vitess
export VTTOP=/opt/vitess/src/vitess.io/vitess
export VT_MYSQL_ROOT=/sbin
export MYSQL_FLAVOR=MySQL56
export LD_LIBRARY_PATH=${VTROOT}/dist/grpc/usr/local/lib
export PATH=${VTROOT}/bin:${VTROOT}/.local/bin:${VTROOT}/dist/chromedriver:${VTROOT}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/usr/local/mysql/bin
Error is:
Starting mysqld for all shards
Starting mysqld for shard -80 ...
Running /opt/vitess/vitess-deployment/bin/vitess002.taboolasyndication.com/mysqld-up-instance-100.sh remotely on vitess002.taboolasyndication.com
Starting MySQL for tablet dc_siv-0000000100...
E0403 14:09:32.145547 18498 mysqlctl.go:260] failed init mysql: mysqld not found in any of /opt/vitess/{sbin,bin}
when I used the vitess examples/local after changing the env.sh to look for mysqld intead mysqld_safe it is working.
what am i missing?
It is mentioned that this script is in alpha stage . But I want to know if it'll be feasible to use this in production ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.