lanqsh
lanqsh
原因 1.mysqld没有启动 2.aria2c服务有问题 解决办法: 在宿主机执行下面命令进去容器内部: `docker exec -it pan bash` 编辑启动脚本: `vi /start.sh` 加#号注释掉两句有问题的命令 ``` #service aria2 start #service mysql start ``` 然后加入启动mysqld的命令 `mysqld` 输入`:wq`退出, 然后ctrl+d退出容器后重启 `docker restart pan`
after `MYSQL_RES *result = mysql_store_result(mysql);` add `if (!result) return;` will fix it
the same problem comes to me I try ` chmod -R ug+w .` but fail `chmod -R 777 .` will work
`Access to '/svn/repos/!svn/me' forbidden` does the lastest docker image still has the issue? better fix it for your docker repos is popular XD
in while loop add `getchar();`
you can see my screenshot  I compile donut.c the compiler will warn you to add head file,you can type 'man getchar' in the terminal to see which head file...
[七输入重复命令太麻烦](https://labuladong.github.io/algo/5/37/#七输入重复命令太麻烦)里面提到的 `但是这个方法有缺点:首先,该功能似乎只有 bash 支持,我用的 zsh 作为 shell 终端,就用不了;第二,只能查找出一个(最近的)命令,如果我想找以前的某个命令,就没办法了。` 其实再次按`Ctrl+R`就可以往前搜索了