``` '; require('reusable.php'); echo 'The script will end now.'; /* there are three situations here 1. if the reusable.php are those codes, which incl... ...
分类:
Web程序 时间:
2020-01-27 00:16:25
阅读次数:
93
本人在虚拟机上又安装了一台linux机器,作为MySQL数据库服务器用,在安装时选择了系统自带的MySQL服务器端,以下是启用步骤。 首先开启mysqld服务 #service mysqld start 进入/usr/bin目录#cd /usr/bin 设定mysql数据库root用户的密码#mys ...
分类:
数据库 时间:
2020-01-27 00:12:45
阅读次数:
90
此处只放相关部分,如有需要,请参考同名下本人的其他博客 index.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <h ...
分类:
其他好文 时间:
2020-01-26 22:32:41
阅读次数:
65
[TOC] vmware 概述 我们想搞vmware的虚拟化有两种途径,一种是让代理商来给我们部署,我们出钱即可;另一种是我们自己搞个非正规途径的,但最好还是买人家代理商的,自己搞一个万一被查到了还是有些麻烦的,毕竟人家vmwrae也是要通过这个软件赚钱的。 vmware的学习也是比较麻烦,ESXI ...
分类:
系统相关 时间:
2020-01-26 20:35:59
阅读次数:
75
这个项目用到jdbc技术,研究了一下,为了学习一下,对于执行sql语句,自己进行封装工具类来进行处理,这样便于进一步理解。 首先我们来看一下搭建的基本项目结构 我们接下来看一下相关的配置信息: 首先看一下web.xml <?xml version="1.0" encoding="UTF-8"?> < ...
分类:
编程语言 时间:
2020-01-26 19:07:03
阅读次数:
58
下载Spark安装包 从官网下载 http://spark.apache.org/downloads.html 从微软的镜像站下载 http://mirrors.hust.edu.cn/apache/ 从清华的镜像站下载 https://mirrors.tuna.tsinghua.edu.cn/ap ...
分类:
其他好文 时间:
2020-01-26 18:59:28
阅读次数:
71
关于MySQL出现lock wait timeout exceeded; try restarting transaction 的解决方案。 一、问题抛出 在做查询语句时,MySQL 抛出了这样的异常: MySQL server error report:Array ( [0] => Array ( ...
分类:
数据库 时间:
2020-01-26 17:30:36
阅读次数:
156
一般使用步骤 步骤一、创建超级用户:python manage.ply createsuperuser 步骤二、建立数据模型,本次都是以下面的数据模型为例 数据模型 from django.db import models Create your models here. class Departm ...
分类:
其他好文 时间:
2020-01-26 17:18:40
阅读次数:
66
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password' Where root as your user localhost as your URL and password as your p ...
分类:
数据库 时间:
2020-01-26 15:52:26
阅读次数:
77
1032 Sharing (25分) To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the wor ...
分类:
其他好文 时间:
2020-01-26 11:51:03
阅读次数:
60