V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  programV2  ›  全部回复第 64 页 / 共 75 页
回复总数  1491
1 ... 60  61  62  63  64  65  66  67  68  69 ... 75  
@sleepm 谢谢! 我用 cat drupal/backup.sql | docker exec -i drupal8_mysql /usr/bin/mysql -u root --password=password drupal 导入数据库和下面这种方式有什么区别吗?
docker exec -i drupal8_mysql /usr/bin/mysql -u root --password=password drupal < drupal/backup.sql
@sleepm 谢谢🙏 这博客之前我看过, 可是不知道为什么我的备份数据库没有 system 表?第一步就卡住了,请问除了把备份出来的 sql 和前面备份的做 diff,
把 sql 语句复制出来弄一个新的.sql 外还有别的办法吗?
@sleepm 我的备份数据库应该是成功导入了, 因为我尝试用网站上的站内搜索功能, 一切正常的, 所以现在问题是我该在哪个数据表关闭模块? 谢谢. 祝好.
@sleepm 谢谢大佬, 我备份的数据库文件是 .sql , 打开看没有 system 表, 请问我重装 drupal 后该怎么操作? 把数据表替换成什么?
@sleepm 是的, 我就是执行 show tables; 没有看到任何包含 System 的记录,这个可能是什么原因呢?
@sleepm 谢谢🙏我运行 show database :
| information_schema |
| drupal |
+--------------------+
2 rows in set


然后 show table 没有看到任何包含 System 的记录,这个可能是什么原因呢?
我可能没表达清楚:  之前用 GHOST 把笔记本 win7 系统备份做成GHO文件, 现在那台笔记本主板坏了,所以想在虚拟机里把这个GHO系统还原跑起来, 不知道有没有可行的方案, 谢谢!
@merryfreespace when i ran command to show database, it looks like :
| information_schema |
| drupal |
+--------------------+
2 rows in set
@merryfreespace thank you for your help. in this case i would like to disable captcha module manually in the database, reCaptcha has blocked me out of admin panel of my website, now i have access to my server and database thru SSH, when i ran command:
UPDATE system SET status = 0 WHERE name = "recaptcha";

Seeing an error
“ERROR 1146 (42S02): Table 'drupal.system' doesn't exist,


When i ran the following command to show table , i can not find the table named "system" of 131 rows in set:
select table_name from information_schema.tables where table_schema='drupal' and table_type='base table';

So wondering if I use the right table name? how to find the exact system table name to disable captcha module in Drupal ? my Drupal version is 8.5.5 Thank you very much.
@sleepm 查看文档也是用 UPDATE system SET status = 0 WHERE name = "recaptcha"; 不知道为什么提示表名不存在? system table 有不同的名称?
@sleepm 确认已经有把数据库恢复回去了,不然网站上内容都会是空的,现在是由于这个 recaptcha +忘了后台密码就进不了后台的
@sleepm 请问 Drupal 关闭 recaptcha 模块是在 System 这个表吗?如何查看在哪个 table 关闭 recaptcha 模块?
@sleepm 谢谢 V 友指点, 但我执行了 mysql -u user -p drupal 已经选中了数据库呀

我第一次接触 Drupal 并且官方文档没有 docker 内容,网上关于这个的内容也很少,找不到一个可以参考的,
谢谢 V 友们, @gefranks @manami @sleepm 虽然我重新搭建导入数据库后网站可以打开, 但由于原来老网站开启了 reCAPTCHA 模块, 旧域名弃用了, 现在进不了后台了, 连后台密码也忘记了, 我访问容器登陆数据库尝试关闭模块, 执行 UPDATE system SET status = 0 WHERE name = "recaptcha"; 出现如下错误 :

ERROR 1146 (42S02): Table 'drupal.system' doesn't exist,

我的数据库名 是 drupal , 是我这个命令写错了吗?

另外请教 V 友们 你们是如何在 docker 上安装 drush 的, 谢谢!
@manami 谢谢. 相关目录及文件权限都给了, 也重启了好几次,
@sleepm 谢谢. 浏览器报错如下, 一会我把日志贴上来,

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.
2020-01-19 14:29:35 +08:00
回复了 programV2 创建的主题 问与答 Putty 在连接断开时重新连接的快捷键?
@Oa 请问 V 友你说的是 SecureCRT? 还是其他客户端?? 谢谢
@Tumblr 请问 V 友找到理想的全文检索工具了吗? 发现 windows 自带的检索有时候搜索会遗漏

@ddup V 友,感谢您的工具, 请问您的归海数据跟 everything 和 AnyTXT Searcher 及楼上提到的几个工具在全文搜索方面哪个更准确? 我硬盘空间大, 不担心臃肿,检索速度慢也没关系, 我主要是看重全文搜索方面的精确度, 我的需求是不要遗漏搜索结果
@PerFectTime 谢谢 V 友的分享, 请问有没有靠谱的香港持牌秘书公司推荐?
2020-01-18 22:32:09 +08:00
回复了 programV2 创建的主题 问与答 Putty 在连接断开时重新连接的快捷键?
@CHANGEX929 谢谢 V 友, 我试了下不行, 只要在 putty 输入界面上右击就行了吗? 谢谢!!
1 ... 60  61  62  63  64  65  66  67  68  69 ... 75  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1132 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 17:53 · PVG 01:53 · LAX 10:53 · JFK 13:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.