2018年7月18日
摘要: 首先 登录数据库 在数据库下做如下操作 1、use mysql; 2、select user,host from user; 3、 update user set host='%' where user=root ; 然后 退出数据库 修改配置文件中的端口:vi /etc/mysql/mysql.c 阅读全文
posted @ 2018-07-18 15:19 LittleSpring 阅读(426) 评论(0) 推荐(0) 编辑
摘要: import java.sql.*;import java.util.ArrayList;import java.util.List; import com.mysql.jdbc.ResultSetMetaData;public class MysqlHelper { // 测试连接函数 publi 阅读全文
posted @ 2018-07-18 15:17 LittleSpring 阅读(184) 评论(0) 推荐(0) 编辑
摘要: import java.sql.*; public class SqlHelper { // 测试连接函数 public static void main(String []args) { derbyHelper de=new derbyHelper(); String sql="select * 阅读全文
posted @ 2018-07-18 15:14 LittleSpring 阅读(360) 评论(0) 推荐(0) 编辑
摘要: linux命令行下 hello.py文件中插入如下代码: 执行:./hello.py 即可。 ps:执行前要给予hello.py执行权限,chmod 755 hello.py 阅读全文
posted @ 2018-07-18 15:02 LittleSpring 阅读(775) 评论(0) 推荐(0) 编辑
摘要: print("hello world") 阅读全文
posted @ 2018-07-18 14:53 LittleSpring 阅读(72) 评论(0) 推荐(0) 编辑