mysql - 如何从 brew info mysql 中删除 mysql 实例
问题描述
我正在尝试从我的 macbook pro 中删除 mysql 以重新开始。
我遵循了有关如何删除 mysql 的所有实例和文件的指南,但是如果我运行
brew info mysql
我仍然获得有关 mysql 8.0 的信息,如下所示:-
mysql: stable 8.0.12 (bottled)
Open source relational database management system
https://dev.mysql.com/doc/refman/8.0/en/
Conflicts with:
mariadb (because mysql, mariadb, and percona install the same
binaries.)
mariadb-connector-c (because both install plugins)
mysql-cluster (because mysql, mariadb, and percona install the same
binaries.)
mysql-connector-c (because both install MySQL client libraries)
percona-server (because mysql, mariadb, and percona install the same
binaries.)
Not installed
From: https://github.com/Homebrew/homebrew-
core/blob/master/Formula/mysql.rb
==> Dependencies
Build: cmake ✘
Required: openssl ✘
==> Requirements
Required: macOS >= 10.10 ✔
==> Options
--with-debug
Build with debug support
--with-embedded
Build the embedded server
--with-local-infile
Build with local infile loading support
--with-memcached
Build with InnoDB Memcached plugin
--with-test
Build with unit tests
==> Caveats
We've installed your MySQL database without a root password. To secure
it run:
mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run:
mysql -uroot
To have launchd start mysql now and restart at login:
brew services start mysql
Or, if you don't want/need a background service you can just run:
mysql.server start
==> Analytics
install: 66,127 (30d), 215,889 (90d), 794,987 (365d)
install_on_request: 61,289 (30d), 185,026 (90d), 647,998 (365d)
build_error: 444 (30d)
我怎样才能完全删除这个?感谢您的任何帮助!
解决方案
mysql已经卸载了。在输出中间查看这些行:
Not installed
From: https://github.com/Homebrew/homebrew-
core/blob/master/Formula/mysql.rb
Homebrew 正在从 GitHub 远程获取有关 mysql 依赖项和使用情况的信息。我也没有安装 mysql 并在运行时得到相同的输出brew info mysql
。如果你尝试mysql
从命令行运行,你应该得到-bash: mysql: command not found
.
推荐阅读
- mysql - 如何使每个人都可以在应用程序 C.# 上访问您的数据库
- python - 在 Apache Spark 中并行训练 Keras 模型
- r - “coredata.xts(x):当前不支持的数据类型”创建 xts 对象时
- react-native - 如何比较本地反应时间?
- javascript - 为什么在 AJAX / JavaScript 运行后我的 CSS / 布局会发生变化?
- java - 如何通过递归获得斐波那契数
- python - AttributeError:“TApplicationException”对象没有属性“结果”
- jquery - 如果没有使用 jQuery 包含的“li”元素,如何隐藏“ul”元素中的所有内容?
- pycharm - 如何更改专用于 pycharm 的内存量?
- python - 从不属于单词的字符串列表中删除标点符号