数据库
木槿丶瑾夕丶
这个作者很懒,什么都没留下…
展开
-
解决数据库root访问权限
数据库root访问权限出问题时,一般会报一个错误 The user specified as a definer ('root'@'%') does not exist 解决方式,打开数据库的控制台 登陆mysql 输入,执行 grant all privileges on *.* to root@"%" identified by "Passwd" 提示Qu原创 2015-09-09 13:09:09 · 1258 阅读 · 0 评论 -
读取Excel表格数据存入mongodb数据库
@Test public void readExcel() throws IOException, BiffException { // 读取xls文件 InputStream ins = new FileInputStream("D:/lesiea/文档/course.xls"); // 设置读文件编码 WorkbookSettings setEncode = n原创 2016-07-08 09:31:28 · 4613 阅读 · 0 评论