Homebrew / homebrew-services

🚀 Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.
BSD 2-Clause "Simplified" License
1.99k stars 204 forks source link

Error: Formula `mysql` has not implemented #plist, #service or installed a locatable service file #398

Closed pgrenaud closed 2 years ago

pgrenaud commented 2 years ago

Greetings,

I'm trying to provision a freshly installed M1 Mac mini, and I'm having this issue that I haven't seen a couple weeks ago when I did the same thing. brew services does not show mysql services, even if the mysql formula is installed. Just to compared, I've installed httpd and php, and both show up in brew services.

When running the brew services start mysql, I get the following message:

Error: Formula `mysql` has not implemented #plist, #service or installed a locatable service file

I feel that this issue is somewhat related to https://github.com/Homebrew/homebrew-core/issues/79367 but I didn't find any commit that would explain why this isn't working suddenly, when it was working a couple weeks ago.

Also, I checked on an Intel Mac and I didn't get this issue with the latest version of Homebrew.

SMillerDev commented 2 years ago

What does ls -al /opt/homebrew/opt/mysql/ say?

pgrenaud commented 2 years ago

What does ls -al /opt/homebrew/opt/mysql/ say?

% ls -al /opt/homebrew/opt/mysql/
ls: /opt/homebrew/opt/mysql/: No such file or directory
SMillerDev commented 2 years ago

Did you install in rosetta mode?

pgrenaud commented 2 years ago

I did not know that was even possible, so I'm guessing no.

pgrenaud commented 2 years ago

I don't understand. Mysql was installed using brew install mysql. Right now, I tried to run brew reinstall mysql but then I got a bunch of errors. Then, I ran brew uninstall mysql then got Error: No available formula or cask with the name "mysql". Did you mean mysql++?. Finally, I ran brew install mysql and everything seems to be fine now.

EDIT: The bunch of errors (click to expand) ``` ==> Downloading https://ghcr.io/v2/homebrew/core/mysql/manifests/8.0.27 Already downloaded: /Users/exolnet/Library/Caches/Homebrew/downloads/c521714052ea597d404fc2862523de823536b9d9c0f4be0bcefc34b8e280a2cf--mysql-8.0.27.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/mysql/blobs/sha256:193e3eed782b0200217dee216d54be860a55e93edd89f5b3ef4686a56c32ed56 Already downloaded: /Users/exolnet/Library/Caches/Homebrew/downloads/3047e2cf482fc88c364b27c8b394e003cde69a03c78b84364dc88bdf6cca0688--mysql--8.0.27.arm64_big_sur.bottle.tar.gz ==> Reinstalling mysql ==> Pouring mysql--8.0.27.arm64_big_sur.bottle.tar.gz cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlbinlog: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_config_editor: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_migrate_keyring: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_tzinfo_to_sql: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/my_print_defaults: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_keyring: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqldumpslow: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_config: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqltest_safe_process: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld_multi: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlcheck: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_keyring_encryption_test: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlimport: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlpump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/comp_err: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/perror: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/zlib_decompress: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_client_test: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlshow: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisamchk: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_secure_installation: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_ssl_rsa_setup: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisampack: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisamlog: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/ibd2sdi: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisam_ftdump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/innochecksum: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_passwd: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqladmin: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_plugin_info: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqldump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlxtest: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_upgrade: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqltest: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld_safe: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlslap: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http_auth_backend.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness_stdx.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/pkgconfig/mysqlclient.pc: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_auth_realm.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/routing.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/router_openssl.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_api.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/keepalive.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_routing.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/io.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_metadata_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_server.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_auth_backend.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/metadata_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_router.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/router_protobuf.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness_tls.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_mysqlx_global_reset.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_pfs_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_same.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/keyring_file.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_int.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_reset_connection.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_x_sessions_init.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_interface.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_stored_procedures_functions.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_test.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_udf_registration.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/version_token.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ha_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_query_attributes.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mysql_clone.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_current_thread_reader.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_only_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_client.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/rewrite_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_replica.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_keyring_file.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_all_col_types.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_system_variable_source.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_x_sessions_deinit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/locking_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_2_sessions.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_real_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/group_replication.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ha_mock.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_security_context.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_sqlmode.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_unreg_only.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_commit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_udf_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/keyring_udf.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_stmt.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/daemon_example.ini: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_pfs_example_component_population.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_framework.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_info.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_udf_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_int.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_real_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_attach.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_services_plugin_registry.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_backup_lock_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_detach.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_audit_api_message.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service_charset.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_replication.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_table_access.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component1.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/adt_null.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_int_same_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_server.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_filter_dragnet.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_syseventlog.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_shutdown.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_source.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_mysqlbackup.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mypluglib.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_services_threaded.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service_long.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_avg_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_system_variable_set.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_int_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/replication_observers_example_plugin.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/connection_control.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_host_application_signal.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_json.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_runtime_error.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_reg_only.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_cmds_1.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component2.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/auth.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_processlist.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_lock.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/auth_test_plugin.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_complex.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component3.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/rewriter.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_audit_api_message_emit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_in_thd.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_str.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mysql_no_login.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/udf_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_validate_password.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_services_host_application_signal.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/innodb_engine.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_slave.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ddl_rewriter.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_pfs_notification.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_str.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_int_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_reference_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libmemcached.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_errors.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_pfs_resource_group.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_views_triggers.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_component_deinit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/validate_password.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_sleep_is_connected.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/pfs_example_plugin_employee.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libdaemon_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_master.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_io_component.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http_auth_realm.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlservices.a: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlclient.a: Permission denied Error: Failure while executing; `cp -pR /private/tmp/d20211112-5154-1a1jw7j/mysql/. /opt/homebrew/Cellar/mysql` exited with 1. Here's the output: cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlbinlog: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_config_editor: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_migrate_keyring: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_tzinfo_to_sql: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/my_print_defaults: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_keyring: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqldumpslow: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_config: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqltest_safe_process: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld_multi: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlcheck: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_keyring_encryption_test: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlimport: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlpump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/comp_err: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/perror: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/zlib_decompress: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_client_test: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlshow: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisamchk: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_secure_installation: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_ssl_rsa_setup: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisampack: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisamlog: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/ibd2sdi: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/myisam_ftdump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/innochecksum: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_passwd: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqladmin: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlrouter_plugin_info: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqldump: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlxtest: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysql_upgrade: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqltest: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqld_safe: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/bin/mysqlslap: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http_auth_backend.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness_stdx.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/pkgconfig/mysqlclient.pc: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_auth_realm.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/routing.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/router_openssl.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_api.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/keepalive.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_routing.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/io.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_metadata_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_server.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/http_auth_backend.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/metadata_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/rest_router.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/mysqlrouter/router_protobuf.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlharness_tls.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_mysqlx_global_reset.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_pfs_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_same.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/keyring_file.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_int.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_reset_connection.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_x_sessions_init.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_interface.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_stored_procedures_functions.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_test.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_udf_registration.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/version_token.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ha_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_query_attributes.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mysql_clone.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_current_thread_reader.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_only_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_client.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/rewrite_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_replica.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_keyring_file.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_all_col_types.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_system_variable_source.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_x_sessions_deinit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/locking_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_2_sessions.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_real_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/group_replication.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ha_mock.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_security_context.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_sqlmode.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_unreg_only.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_commit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_udf_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/keyring_udf.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_stmt.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/daemon_example.ini: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_3_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_pfs_example_component_population.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_framework.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_info.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_udf_services.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_int.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_real_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_attach.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_services_plugin_registry.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_backup_lock_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_detach.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_audit_api_message.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service_charset.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_replication.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_table_access.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component1.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/adt_null.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_int_same_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/qa_auth_server.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_filter_dragnet.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_syseventlog.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_shutdown.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_source.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_mysqlbackup.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mypluglib.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_services_threaded.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_string_service_long.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_avg_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_system_variable_set.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_reg_int_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/replication_observers_example_plugin.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/connection_control.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_host_application_signal.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_log_sink_json.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_mysql_runtime_error.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_reg_only.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_cmds_1.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component2.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/auth.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_processlist.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_lock.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/auth_test_plugin.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_complex.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_example_component3.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/rewriter.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_audit_api_message_emit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_session_in_thd.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_status_var_service_str.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/mysql_no_login.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/udf_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_validate_password.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/test_services_host_application_signal.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/innodb_engine.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_slave.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/ddl_rewriter.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_pfs_notification.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_sys_var_service_str.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_udf_unreg_int_func.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_reference_cache.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libmemcached.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_errors.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_pfs_resource_group.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_views_triggers.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/component_test_component_deinit.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/validate_password.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libtest_sql_sleep_is_connected.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/pfs_example_plugin_employee.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/libdaemon_example.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/plugin/semisync_master.so: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_io_component.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter_http_auth_realm.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlservices.a: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlrouter.1.dylib: Permission denied cp: /opt/homebrew/Cellar/mysql/./8.0.27/lib/libmysqlclient.a: Permission denied ```
pgrenaud commented 2 years ago

This is so strange. Something was definitely broken, but again this is a freshly installed system. That should not happens.

@SMillerDev Do you want me to look at something before I erase this mac and try over again to see if I can reproduce?

MikeMcQuaid commented 2 years ago

Run brew doctor and fix the problems it mentions.

pgrenaud commented 2 years ago

Run brew doctor and fix the problems it mentions.

% brew doctor
Your system is ready to brew.

@MikeMcQuaid Do you want me to look at something else before I erase this mac and try over again to see if I can reproduce?

MikeMcQuaid commented 2 years ago

@pgrenaud sudo chown -R $USER /opt/homebrew.

pgrenaud commented 2 years ago

According to the result of find /opt/homebrew ! -user $USER, no files or directories belongs to any other user.

pgrenaud commented 2 years ago

After erasing the mac and reinstalling macOS, I no longer observe the issue.

However, I do notice a new issue: #399