java.sql.SQLException: Your password has expired. To log in you must change it using a client that s
2015-12-05 20:30
811 查看
java.sql.SQLException: Your password has expired.To log in you must change it using a client that supports expired passwords.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Could not create connection to database server. Attempted reconnect 3 times.Giving up
javax.jdo.JDOFatalDataStoreException: Could notcreate connection to database server. Attempted reconnect 3 times. Giving up.
FAILED:ParseException line 2:0 missing EOF at 'show' near 'tables'
FAILED:Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
修改root用户的密码;
?
重新启动MySQL
—————————————————————————————————上面方法可行。下面可以操作了
查询mysql中user表:
发现表中密码过期,密码过期状态(password_expired字段值)是否为Y,Y表示已过期,需要修改为N
这样sqoop就能正常的往mysql中导数据了
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Could not create connection to database server. Attempted reconnect 3 times.Giving up
javax.jdo.JDOFatalDataStoreException: Could notcreate connection to database server. Attempted reconnect 3 times. Giving up.
FAILED:ParseException line 2:0 missing EOF at 'show' near 'tables'
FAILED:Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
修改root用户的密码;
?
1 2 3 4 5 6 | [html] mysql> update mysql.user set password=PASSWORD('newpassword') where User='root'; mysql> flush privileges; mysql> quit |
—————————————————————————————————上面方法可行。下面可以操作了
查询mysql中user表:
发现表中密码过期,密码过期状态(password_expired字段值)是否为Y,Y表示已过期,需要修改为N
这样sqoop就能正常的往mysql中导数据了
相关文章推荐
- java中static关键字用法
- 【解惑】Java动态绑定机制的内幕
- MyEclipse运行web程序出错解决方法
- 【总结】你所不知道的Java序列化
- 【总结】java命令解析以及编译器,虚拟机如何定位类
- 【总结】String in Java
- 2015-12-05 Eclipse项目导入到Android Studio中时出现的一些问题
- Java面向对象(二)
- LeetCode 125 : Valid Palindrome (Java)
- java基础学习
- 【总结】Java线程同步机制深刻阐述
- JAVA 泛型的 raw 类型带来的其 【编译时类型检查功能丧失】
- 分糖果问题(java)
- SpringMVC 运行机制
- Java final修饰符使用总结
- JavaWeb 利用springsecurity做用户权限限制
- spring security 简单登陆(二)
- Java Threads and the Concurrency Utilities 《读书笔记》
- java反射机制详解
- 简单的JDBC应用,java连接 MYsql;