最新文章 更多»

PHP-sftp文件上传

PHP的sftp文件上传;在框架thinkphp5中使用;主要用到的sftp函数如下;ssh2_connect(host,port) 链接信息ssh2_auth_password(

mysql慢查询日志开启

mysql数据库的优化1:查看mysql是否开启慢查询日志showvariableslike'slow_query_log';查看手否开启没有索引的记录到慢查询日志

thinkphp创建临时表

thinkphp创建临时表/** *创建临时表存储设备 **/ publicfunctioncreateTmptable(){ $model=M();

mysql

mysql-触发器

mysql 增删改触发器的创建insert 触发器 CREATEDEFINER=`root`@`localhost`TRIGGER`chilrd`.`insert` BEFOR

thinkphp5-循环插入百万条数据

//由于是跨服务器的两个数据库需要建一个数据模型 <?php namespaceapp\index\controller; usethink\Controlle

mysql