일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- JCommander
- RESTful
- DataSource
- nmon
- Java Rome
- sorted
- Chrome REST
- Source Code
- Java
- REST API
- skip-grant
- Blog Code
- SyntaxHighlighter
- error 1418
- jersey
- Advanced REST client
- RESTful java
- python3
- 데스크톱
- 윈도우즈 원격 데스크톱
- mstsc
- list
- error 1045
- Dictionary
- Python
- 3389
- RESTful Web Service
- error 1298
- JNDI
- error 145
- Today
- Total
그래도 개발자일 때 좋았다
MySQL 각종 에러 해결 방법 본문
1.
- 에러 : ERROR 145 (HY000): Table './mysql/proc' is marked as crashed and should be repaired
- 해결 : mysql> repair table proc
2.
- 에러 : ERROR 1298 (HY000): Unknown or incorrect time zone: 'UTC'
- 해결 : shell> mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql -p
3. 2013년 1월 16일 정확한 에러 메세지 추가
- 에러 : rpm 설치시 아래와 같은 에러가 발생시
shell> rpm -Uvh MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64- 해결 :
shell> rpm -qa | grep -i '^mysql-'
shell> rpm --nodeps -ev <<package name>>
4.
- 에러 : ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
- 해결 :
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
5. 2013년 1월 21일 추가, 2014년 7월 30일 해결방법 수정 및 내용추가
- 에러 : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- 해결방법 1. CentOS기반 MySQL 5.5.28
shell> mysqld --skip-grant &
130121 18:30:39 [ERROR] Aborting
130121 18:30:39 [Note] mysqld: Shutdown complete
Your MySQL connection id is 3 Server version: 5.5.28-log MySQL Community Server (GPL)
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> grant all privileges on *.* to 'root'@'localhost' identified by 'newpassword' with grant option; |
해결방법 2. Ubuntu기반 MySQL 5.6.17
shell> ps -ef | grep mysql
shell> mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.6.17-log MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql
mysql> flush privileges;
mysql> commit; |
계속해서 추가할 예정.
'IT Misc.' 카테고리의 다른 글
CentOS nmon 설치하기 (0) | 2013.04.11 |
---|---|
Windows 원격 데스크톱 포트 변경 (0) | 2013.01.09 |
간단한 REST API 테스트 도구 : Advanced REST client (0) | 2012.11.19 |
Tomcat에 JNDI DataSource 설정 (0) | 2012.10.26 |