所属: "开发笔记"
8月 12, 2024 - mysql    mysql10用Sequel Pro链接不上已关闭评论

mysql10用Sequel Pro链接不上

Mysql10:

通过navicat连接不上数据库:
https://blog.csdn.net/leo3070/article/details/117440146

mysql> use mysql;

Database changed

mysql> SELECT Host,[……]

Read more

6月 25, 2024 - Linux, 开发笔记    php exec获取的输出不完整已关闭评论

php exec获取的输出不完整

Exec 获取到的输出不完整:

$process = exec('ps -ef |grep vt4e-ywew-cdd1-taqm-69v1| grep -v grep', $output, $rtn);

可以增加 -ww参数:增加输出宽度

$process = exec('ps[......]

Read more

9月 1, 2023 - Linux, php开发    php使用ssh2通过账密连接服务器失败已关闭评论

php使用ssh2通过账密连接服务器失败

问题描述:

php直接通过ssh2拓展链接服务器,结果发生了catch

//建立ssh2连接
$ssh2 = ssh2_connect($public_ip, 22);
if (!$ssh2) {
    Log::error('连接服务器失败');
    //重新建立ssh2连接[......]

Read more

页面:«1234567...17»