soap_client.php "http://localhost/soap_server.php",'uri'=>"http://test-uri") ); echo $client->getVar(); } catch (SoapF...
分类:
Web程序 时间:
2014-07-07 10:59:59
阅读次数:
191
Struts2-Action: 搭建MyEclipse框架,在Window/Prefrence中设置Server/Tomcat的目录,然后设置java选项卡中JDK的路径。Struts的运行机制: URL请求通过HTTP协议发送给TOMCAT(假设我们的url为http://localhost:80...
分类:
其他好文 时间:
2014-07-02 20:11:45
阅读次数:
246
1、初始化密码 >sudo bin/mysqladmin -u root password 'pwd string'2、ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 1)添加启动参...
分类:
数据库 时间:
2014-07-02 18:51:21
阅读次数:
172
最近老是忘记mysql密码。网上学习了四种解决办法,记录下来。
方法1: 用SET PASSWORD命令
mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');
方法2:用mysqladmin
mysqladmin -u root password "newpass"
...
分类:
数据库 时间:
2014-07-02 08:53:38
阅读次数:
219
Shell命令行的书写规则 对Shell命令行基本功能的理解有助于编写更好的Shell程序,在执行Shell命令时多个命令可以在一个命令行上运行,但此时要使用分号(;)分隔命令,例如: [root@localhost root]# ls a* -l;free;df 长Shell命令行可以使用反斜线字...
分类:
其他好文 时间:
2014-07-01 19:36:37
阅读次数:
194
long long unsigned int num = 20140701092715;在C语言中编译器会把没有小数的数值常量默认为整形,这条语句编译器会报警告: [root@localhost ~]# gcc -o test 1.c 1.c: In function ‘main’: 1.c...
分类:
编程语言 时间:
2014-07-01 18:56:09
阅读次数:
233
localhost:~ hejiasheng$ xcrun swift
Welcome to Swift! Type :help for assistance.
1> var a:Int
a: Int = 0
2> let b:Int
:2:5: error: 'let' declarations require an initializer expression
let b:Int
...
分类:
移动开发 时间:
2014-07-01 14:23:25
阅读次数:
443
1 [root@localhost ~]# ll b2 total 03 -rw-r--r--. 1 root root 0 Jul 1 01:27 14 -rw-r--r--. 1 root root 0 Jul 1 01:27 2 35 -rw-r--r--. 1 root root 0 J.....
分类:
移动开发 时间:
2014-07-01 13:50:18
阅读次数:
180
com.mysql.jdbc.Driverjdbc:mysql://localhost:3306/h01root123org.hibernate.dialect.MySQL5Dialecttruetruenone这两行换下位置即可
分类:
移动开发 时间:
2014-07-01 11:40:01
阅读次数:
273
mysql> grant all on *.* to 'root'@'192.168.1.1' identified by 'password';
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
。
确认方式(查看是否有grant all 没...
分类:
数据库 时间:
2014-07-01 07:08:47
阅读次数:
461