gpt4 book ai didi

mamp-pro - 错误 : Can't initialize batch_readline - may be the input source is a directory or a block device

转载 作者:行者123 更新时间:2023-12-04 02:21:37 77 4
gpt4 key购买 nike

我有 Mamp Pro。我尝试通过命令行导入数据库,因为它对于 PHPMyAdmin 来说太大了,使用以下说明:http://nickhardeman.com/308/export-import-large-database-using-mamp-with-terminal/

当我输入以下提示输入密码时:

/applications/MAMP/library/bin/mysql -u root -p DBNAME.sql < /Applications/MAMP/htdocs/FOLDERNAME 

但是,当我输入它时,我收到此消息:
ERROR: Can't initialize batch_readline - may be the input source is a directory or a block device.

最佳答案

我认为您的命令有问题,应该是:

/applications/MAMP/library/bin/mysql -u root -p DBNAME < /Applications/MAMP/htdocs/FOLDERNAME/BACKUP_FILENAME.sql 

关于mamp-pro - 错误 : Can't initialize batch_readline - may be the input source is a directory or a block device,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28452021/

77 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com