我试图从我的macbook中删除mysql,从新开始。
我遵循了如何删除mysql的所有实例和文件的指南,但是如果我运行
brew info mysql我仍然获得有关MySQL8.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)我怎么才能把这个完全移除?谢谢你的帮助!
发布于 2018-09-24 16:13:11
mysql已经卸载。在输出的中间看到这些行:
Not installed
From: https://github.com/Homebrew/homebrew-
core/blob/master/Formula/mysql.rb从GitHub远程获取mysql的依赖关系和使用情况的信息。我也没有安装mysql,并在运行brew info mysql时获得相同的输出。如果尝试从命令行运行mysql,则应该获得-bash: mysql: command not found。
https://stackoverflow.com/questions/52483262
复制相似问题