使用mysql二进制方式连接 mysql -u root -p 使用PHP脚本连接MySQL mysqli_connect(host,name,password,dbname,port,socket); host 规定主机或IP地址 username 规定MySQL用户名 password 规定My ...
分类:
数据库 时间:
2021-02-15 12:08:49
阅读次数:
0
假设A服务器要把文件复制到B服务器上 首先我们要在B服务器上生成密钥对 参考:https://www.cnblogs.com/pxblog/p/14396409.html 然后在把生成的密钥公钥id_rsa.pub 复制到A服务器上的 /root/.ssh文件夹下,名称改为 authorized_k ...
分类:
系统相关 时间:
2021-02-15 11:59:11
阅读次数:
0
执行 ssh-keygen -t rsa -C "你的邮箱地址" 然后在 cd /root/.ssh/ 目录下会生成三个文件 id_rsa 这是私钥id_rsa.pub 这是公钥known_hosts ...
分类:
系统相关 时间:
2021-02-15 11:58:09
阅读次数:
0
1.开启对应Windows功能(适用于linux的Windows子系统) 2.微软商店对应下载 Windows terminal 、 ubantu 3.设置 Windows terminal ubantu:把下面这个加到/root/.bashrc里 #Fix mkdir command has wr ...
Hive 运行过程异常信息有时不能完全显示在终端上,此时可以用 Hive Debug 模 式进行调试 hive --hiveconf hive.root.logger=INFO,console 1、表不存在 FAILED: SemanticException [Error 10001]: Line ...
分类:
其他好文 时间:
2021-02-10 13:39:36
阅读次数:
0
这篇随笔主要给出了Hi3559AV100-自己编译了u-boot、kernel及rootfs后,出现烧写错误或者烧写后板载无法启动的解决思路。 问题 (1)对于 u-boot 为官方的,kernel 为自己的生成的话,开机过不了,kernel 镜像无法挂载 现象:(原正常u-boot界面的提示符为h ...
分类:
Web程序 时间:
2021-02-10 13:25:15
阅读次数:
0
LeafTest.java package com.atguigu.java3; //总结:由父及子,静态先行 class Root{ static{ System.out.println("Root的静态初始化块"); } { System.out.println("Root的普通初始化块"); ...
分类:
其他好文 时间:
2021-02-10 13:16:03
阅读次数:
0
实际上是利用"adb root"命令获取的root权限进行进一步操作。 ...
分类:
移动开发 时间:
2021-02-10 13:14:54
阅读次数:
0
有时候我们需要查找可执行程序的依赖的动态库,我们可以使用 readelf ,比如这样》 [root@RV1126_RV1109:/py-spidev]# readelf -d /bin/ls | grep "Shared library" 0x00000001 (NEEDED) Shared lib ...
分类:
其他好文 时间:
2021-02-10 13:14:04
阅读次数:
0
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:
其他好文 时间:
2021-02-10 12:54:11
阅读次数:
0