我的 mysql 服务器停止后无法启动
\n命令使用:
\nsudo /etc/init.d/mysql restart\nRun Code Online (Sandbox Code Playgroud)\n错误 :
\n\n\n重新启动 mysql(通过 systemctl): mysql.serviceJob for mysql.service\n失败,因为控制进程退出并出现错误代码。
\n
systemctl status mysql.service使用和检查状态journalctl -xe,没有得到任何帮助。
错误日志:
\n-
\n\nRun Code Online (Sandbox Code Playgroud)\n2020-06-23T00:11:48.882919Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use\n--explicit_defaults_for_timestamp 服务器选项(有关更多详细信息,请参阅文档)。
\nRun Code Online (Sandbox Code Playgroud)2020-06-23T00:11:48.883135Z 0 [Warning] Can't create test file /u1/mysql/sad-swh.lower-test\n\n2020-06-23T00:11:48.883185Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.30-0ubuntu0.18.04.1) starting as process 28411 ...\n\n2020-06-23T00:11:48.886131Z 0 [Warning] Can't create test file /u1/mysql/sad-swh.lower-test\n\n2020-06-23T00:11:48.886148Z 0 [Warning] Can't create …
( <github.PaginatedList.PaginatedList object at 0x7f1c6a492a50>)。
我的代码是这样的 -
a_project_column.get_cards()[-1]错误是
“索引错误:列表索引超出范围”
但下面的代码可以正常工作以获得所需的结果(即>>ProjectCard(id = 5161717))
a_project_column.get_cards()[0]
供参考 https://github.com/PyGithub/PyGithub/blob/master/github/PaginatedList.py
来自我本地 VSCode 的请求如下所示:
Host XXX.XX.XX.XXX
HostName XXX.XX.XX.XXX
ForwardX11Trusted yes
IdentityFile ~/.ssh/Key.pem
User ubuntu
Run Code Online (Sandbox Code Playgroud)
在服务器上,我X11Forwarding yes在/etc/ssh/sshd_config文件中启用
尽管如此,我还是收到了这个错误
qt.qpa.xcb:无法连接到显示:0.0 qt.qpa.plugin:无法在“/home/ubuntu/anaconda3/lib/python3.8/site-packages/cv2/”中加载Qt平台插件“xcb” qt/plugins”,即使它被发现了。该应用程序无法启动,因为无法初始化 Qt 平台插件。重新安装应用程序可能会解决此问题。
可用的平台插件有:xcb、eglfs、minimal、minimalegl、offscreen、vnc。
注意:我使用 VSCode 的集成终端来运行 python 脚本。
我试过这个
git log -i --all --grep='/(?=.*fix)(?=.*a)(?=.*bug)/'
Run Code Online (Sandbox Code Playgroud)
但没有用。