when I am running brew install
on MacBook with an m1 chip, I am getting this error.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula [in the last month]...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
what can I do about it?
asked Jul 26 at 12:52Jul 26 at 12:52
1
git -C $[brew --repo homebrew/core] checkout master
this will switch to master, then run
brew doctor
this should run without any error.
If there is no error you can install anything with brew install.
ex:
brew install
answered Jul 27 at 9:12Jul 27 at 9:12
May be you should run brew update
first.
answered Jul 28 at 3:34Jul 28 at 3:34
1
2.4.3 & nbsp; Cài đặt và sử dụng trình nền khởi chạy MySQL
MacOS sử dụng các daemon khởi động để tự động bắt đầu, dừng và quản lý các quy trình và ứng dụng như MySQL.
Theo mặc định, gói cài đặt [DMG] trên macOS cài đặt tệp Launchd có tên /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
có chứa định nghĩa plist tương tự như:
Label com.oracle.oss.mysql.mysqld
ProcessType Interactive
Disabled
RunAtLoad
KeepAlive
SessionCreate
LaunchOnlyOnce
UserName _mysql
GroupName _mysql
ExitTimeOut 600
Program /usr/local/mysql/bin/mysqld
ProgramArguments
/usr/local/mysql/bin/mysqld
--user=_mysql
--basedir=/usr/local/mysql
--datadir=/usr/local/mysql/data
--plugin-dir=/usr/local/mysql/lib/plugin
--log-error=/usr/local/mysql/data/mysqld.local.err
--pid-file=/usr/local/mysql/data/mysqld.local.pid
--keyring-file-data=/usr/local/mysql/keyring/keyring
--early-plugin-load=keyring_file=keyring_file.so
WorkingDirectory /usr/local/mysql
Ghi chú
Một số người dùng báo cáo rằng việc thêm một tuyên bố plist doctype khiến hoạt động LaunchD không thành công, mặc dù nó vượt qua kiểm tra xơ vải. Chúng tôi nghi ngờ đó là một lỗi sao chép-N-dán. Tổng kiểm tra MD5 của một tệp chứa đoạn trích trên là D925F05F6D1B6EE5CE5451B596D6BAED.d925f05f6d1b6ee5ce5451b596d6baed. d925f05f6d1b6ee5ce5451b596d6baed.
Để bật dịch vụ LaunchD, bạn có thể:
Mở các tùy chọn hệ thống MacOS và chọn bảng ưu tiên MySQL, sau đó thực hiện khởi động Máy chủ MySQL.Start MySQL Server. Start MySQL Server.
Hình & nbsp; 2.18 & nbsp; ngăn ưa thích MySQL: Vị trí
Trang phiên bản bao gồm một tùy chọn để bắt đầu hoặc dừng MySQL và khởi tạo cơ sở dữ liệu tái tạo thư mục
0. Gỡ cài đặt cài đặt máy chủ MySQL và tùy chọn bảng thông tin ưu tiên MySQL và thông tin LaunchD.ProgramArguments section defines the command line options that are passed into the program, which is thegit -C $[brew --repo homebrew/core] checkout master
3 binary in this case. Instances page includes an option to start or stop MySQL, and Initialize Database recreates thegit -C $[brew --repo homebrew/core] checkout master
0 directory. Uninstall uninstalls MySQL Server and optionally the MySQL preference panel and launchd information.git -C $[brew --repo homebrew/core] checkout master
Hình & NBSP; 2.19 & NBSP; Ngăn ưu tiên MySQL: Các phiên bản
Hoặc, tải thủ công tệp Launchd.
$> cd /Library/LaunchDaemons $> sudo launchctl load -F com.oracle.oss.mysql.mysqld.plist
Để định cấu hình MySQL để tự động bắt đầu khi khởi động, bạn có thể:ProgramArguments, you might remove most of these arguments and instead rely upon your
4 MySQL configuration file to define them. For example:git -C $[brew --repo homebrew/core] checkout master
$> sudo launchctl load -w com.oracle.oss.mysql.mysqld.plist
Ghi chú
Một số người dùng báo cáo rằng việc thêm một tuyên bố plist doctype khiến hoạt động LaunchD không thành công, mặc dù nó vượt qua kiểm tra xơ vải. Chúng tôi nghi ngờ đó là một lỗi sao chép-N-dán. Tổng kiểm tra MD5 của một tệp chứa đoạn trích trên là D925F05F6D1B6EE5CE5451B596D6BAED.d925f05f6d1b6ee5ce5451b596d6baed.
Để bật dịch vụ LaunchD, bạn có thể:
Mở các tùy chọn hệ thống MacOS và chọn bảng ưu tiên MySQL, sau đó thực hiện khởi động Máy chủ MySQL.
Hình & nbsp; 2.18 & nbsp; ngăn ưa thích MySQL: Vị trí
Trang phiên bản bao gồm một tùy chọn để bắt đầu hoặc dừng MySQL và khởi tạo cơ sở dữ liệu tái tạo thư mục
0. Gỡ cài đặt cài đặt máy chủ MySQL và tùy chọn bảng thông tin ưu tiên MySQL và thông tin LaunchD.ProgramArguments section defines the command line options that are passed into the program, which is thegit -C $[brew --repo homebrew/core] checkout master
3 binary in this case. ProgramArguments section defines the command line options that are passed into the program, which is thegit -C $[brew --repo homebrew/core] checkout master
3 binary in this case.git -C $[brew --repo homebrew/core] checkout master
Hình & NBSP; 2.19 & NBSP; Ngăn ưu tiên MySQL: Các phiên bản
Hoặc, tải thủ công tệp Launchd.
Để định cấu hình MySQL để tự động bắt đầu khi khởi động, bạn có thể:ProgramArguments, you might remove most of these arguments and instead rely upon your
git -C $[brew --repo homebrew/core] checkout master
4 MySQL configuration file to define them. For example: ProgramArguments, you might remove most of these arguments and instead rely upon your git -C $[brew --repo homebrew/core] checkout master
4 MySQL configuration file to define them. For example:
Label com.oracle.oss.mysql.mysqld
ProcessType Interactive
Disabled
RunAtLoad
KeepAlive
SessionCreate
LaunchOnlyOnce
UserName _mysql
GroupName _mysql
ExitTimeOut 600
Program /usr/local/mysql/bin/mysqld
ProgramArguments
/usr/local/mysql/bin/mysqld
--user=_mysql
--basedir=/usr/local/mysql
--datadir=/usr/local/mysql/data
--plugin-dir=/usr/local/mysql/lib/plugin
--log-error=/usr/local/mysql/data/mysqld.local.err
--pid-file=/usr/local/mysql/data/mysqld.local.pid
--keyring-file-data=/usr/local/mysql/keyring/keyring
--early-plugin-load=keyring_file=keyring_file.so
WorkingDirectory /usr/local/mysql
Khi nâng cấp máy chủ MySQL, quá trình cài đặt LaunchD sẽ loại bỏ các mục khởi động cũ được cài đặt với MySQL Server 5.7.7 trở xuống.ProgramArguments definition, which you might have defined in
git -C $[brew --repo homebrew/core] checkout master
4 instead. ProgramArguments definition, which you might have defined in
git -C $[brew --repo homebrew/core] checkout master
4 instead. MySQL có sẵn cho M1 Mac không?
Có [8.0 [Homebrew]] thông qua Homebrew, MySQLD có thể được cài đặt với hỗ trợ M1 gốc. Through homebrew, mysqld can be installed with native m1 support. Through homebrew, mysqld can be installed with native m1 support.
Làm cách nào để khởi động máy chủ MySQL?
Cách khởi động, dừng và khởi động lại máy chủ MySQL...
Để khởi động máy chủ MySQL: Dịch vụ sudo MySQLD BẮT ĐẦU ..
Để dừng máy chủ MySQL: Dịch vụ sudo MySQLD dừng ..
Để khởi động lại máy chủ MySQL: Dịch vụ sudo MySQLD khởi động lại ..
Làm cách nào để mở MySQL trong Terminal Mac?
Trong màn hình đầu cuối, nhập các lệnh này và nhấn enter sau mỗi một trong số chúng:...
CD/usr/local/mysql.Điều này sẽ thay đổi thư mục hiện tại thành một máy chủ MySQL được cài đặt ..
sudo bin/mysql_secure_installation.Lệnh này sẽ yêu cầu mật khẩu máy tính của bạn.....
Đặt mật khẩu gốc?[Y/N].