1、改密码 (1).打开doc命令框键入:sqlplus /nolog (2).输入:connect / as sysdba (3).修改密码:alter user userName identified by passWord; (4).解锁:alter user userName accou.....
分类:
数据库 时间:
2014-11-22 10:29:41
阅读次数:
236
最近学校开了PHP课程,顺便写了个作业,分享一下吧。。。
都是很简单的东西,新手用得着、、、
省略部分前端代码、、、
首先是登录的校验:
<?php
session_start();
$user = $_POST['userName'];
$pass = $_POST['passWord'];
$_SESSION['user'] = $user;
/*$Enter ...
分类:
Web程序 时间:
2014-11-22 09:22:53
阅读次数:
306
简单的PHP操作数据库步骤: 1.连接数据库 $conn = mysql_connect('ip','username','password'); 2.选择数据库 mysql_select_db(database,$con); 3.执行语句 $result = mysql_query...
分类:
数据库 时间:
2014-11-21 20:19:07
阅读次数:
211
1、使用dataSource,填写对应的URL username 和password就可以了! <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
<!-- 基本属性 ...
分类:
数据库 时间:
2014-11-21 16:46:36
阅读次数:
235
Action实现Prepareable接口通过prepare()方法实现预处理功能。paramsPrepareParamsStack拦截器栈是在strust2-default.xml中定义的,里面定义了很多拦截器,其中最重要的三个拦截器是:params、prepare、modelDriven。params:负责将请求参数值设置到Action中同名的属性中。prep..
分类:
其他好文 时间:
2014-11-21 16:41:21
阅读次数:
193
利用windows身份验证进入查询分析器后在master数据库下运行如下脚本: 1 create procedure sp_password 2 @old sysname = NULL, -- the old (current) password 3 @new sysname, -- the new...
分类:
数据库 时间:
2014-11-21 15:43:20
阅读次数:
400
#!/usr/bin/expect -f set ip 192.168.20.200 set password admin set timeout 10 spawn ssh root@$ip -p 2169 expect { ##"*yes/no" { send "yes\r"; exp_conti...
分类:
其他好文 时间:
2014-11-21 12:18:30
阅读次数:
165
ProblemIn 1-9 keypad one key is not working. If someone enters a password then not working key will not be entered. You have given expected password a...
分类:
其他好文 时间:
2014-11-21 06:58:11
阅读次数:
197
ProblemYou know a password is well-ordered string. Well-ordered string means that the order of the characters is in an alphabetical increasing order. ...
分类:
其他好文 时间:
2014-11-21 06:55:50
阅读次数:
137
出错原因:连接数据库是忘记配username 和 password 了刚在学hiberbate4,把持久层从纯粹的jdbc改为hiberbate 出现的错误。(原来的是直接读取properties)解决方法就是在hibernate.cfg.xml加上最后两行(当然其他的也必不可少)1 jdbc:my...
分类:
数据库 时间:
2014-11-21 01:19:55
阅读次数:
238