场景:在本地构建RoR环境以进行开发.生产在EngineYard/GitHub上.现在一切正常,但DB没有导入.
我有一个.sql文件,我从我的prod EY网站上获取.现在我需要在本地将它导入我的MySQL.我正在使用Workbench(因为我是新手),但在下面得到错误.
请帮忙?
08:07:43恢复/home/james/Downloads/Futology.sql运行:mysql --defaults-extra-file ="/ tmp/tmpAVeE58/extraparams.cnf"--host = localhost --user = root --port = 3306 --default-character-set = utf8 --comments <"/ home/james/Download /Futology.sql"ERROR 1046(3D000)第22行:未选择数据库
操作失败,使用exitcode 1 08:07:43导入/home/james/Downloads/Futology.sql已完成1个错误
我在安永的rails部署上遇到了一些大问题.支持说我需要SSH来清除错误......但我得到以下内容:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
80:4c:5f:dd:98:bb:cb:01:6c:a9:11:41:29:56:66:86.
Please contact your system administrator.
Add correct host key in /Users/jameshughes/.ssh/known_hosts to get rid of this message.
Offending key in /Users/jameshughes/.ssh/known_hosts:1
RSA host key …Run Code Online (Sandbox Code Playgroud)