刚建好的mysql里面有两个库实例,mysql和test,我的mysql被删除了,怎么重建呢?
我用mysql_install_db命令,说 ‘’’ FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run ‘make install’ to copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. ‘’’
重新安装吧,$brew reinstall mysql 也报错 ‘’ curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource “mysql”
Download failed: https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-8.0.12.tar.gz ‘’
支持一把!谢谢!