rails执行sidekiq任务的时候报错“can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock'”, 很好理解,就是找不到这个文件,而我机器上面文件在/tmp/mysql.sock这里, 所以解决很简单,在指定位置创建一个或创建一个链接呗: ln -s /tmp/mysql.sock /var/run/mysqld/mysql.sock 完美解决,偶也^_^
在用robotframework编写移动端测试用例(用chrome浏览器模拟手机浏览器),执行用例时, 报错selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfe
前言:在zookeeper学习的时候,执行jsp命令查看zookpper运行状态的时候发现报错: -bash: jps: command not found 翻阅了一大批文章,不是东拼西凑,就是缺斤少两,于是乎,本人萌生了第一次写博客的想法,复盘的同时,顺便记录一下此次踩坑的经过,开始吧,GOGOGO! 发现报错,根据查阅到的资料说明: 产生的原因是Java的环境变量出错 执行 whereis java 发现一串奇怪的路径,说明这只是java的执行路径,而非java的安装路径. 执行 which
最近在公司项目中使用exec sp_executesql @sql执行一段文本sql的时候老是报错: Could not find database ID 16, name '16'. The database may be offline. Wait a few minutes and try again.执行的sql大概如下,注意其中有个额外的参数@databaseName是nvarchar类型,用来声明数据库的名字: SET @tableScript=N''+ N'IF (SELECT C
若要转载本文,请务必声明出处:https://www.cnblogs.com/zhongyuanzhao000/p/11686633.html 起因: 最近正在尝试SonarQube的简单使用,但是当在项目的根目录执行命令sonar-scanner时,出现了报错如下: ERROR: Unable to create symbol table for : /usr/local/workspace/simple-java-maven-app/src/main/java/com/mycompany/a
在图形界面中,执行拉取操作时,出现下面的错误. You asked to pull from the remote 'origin', but did not specifya branch. Because this is not the default configured remotefor your current branch, you must specify a branch on the command line. 解决办法: Edit your .git/config [bra