Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
335 views
in Technique[技术] by (71.8m points)

tar - zsh: no such file or directory: ./scripts/mysql_install_db - Issue Installing MariaDB 10.1.34 in MacOS Catalina

I'm trying to install MariaDB 10.1.34 in my MacBook (OS Catalina) following the steps mentioned here,

Downloaded the .tar file from here

I'm following the steps mentioned at - Installing MariaDB as Not root in Any Directory. However, when I try the last step of executing the mysql_install_db shell script (./scripts/mysql_install_db --defaults-file=~/.my.cnf), it gives me the following error,

zsh: no such file or directory: ./scripts/mysql_install_db

But I can see that the said file(mysql_install_db.sh) do exist in the folder /usr/local/mariadb-10.1.34/scripts.

Can anyone please help me sorting this out?

Please note that I'm new to MacOS and coming from Windows background.

question from:https://stackoverflow.com/questions/65949116/zsh-no-such-file-or-directory-scripts-mysql-install-db-issue-installing-ma

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...