문제점

안드로이드 스튜디오 베타버전에서 정식버전으로 교체하면서 기존의 프로젝트가 실행되지 않는다. 에러 메시지는 아래와 같다.

After Android Studio update: Gradle DSL method not found: 'runProguard()'

해결방안

아래 사진과 같이 runProguard를 minifyEnabled로 바꾸어 주어야 한다. gradle 버전이 바뀌면서 발생하는 에러같다.



참고사이트 Link

 실행환경

 Desktop

 조립식

 CPU

 Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz 3.40GHz

 Memory

 8.00 GB

 OS

 Windows 7 Professional K 64bit

 Java

 1.8.0_05

 MySQL

 Ver 14.14 Distrib 5.6.19, for Win64


문제점

컴퓨터 강제종료시 발생하는 것 같다. 

error log
2014-07-09 11:01:56 2280 [Note] Plugin 'FEDERATED' is disabled.
2014-07-09 11:01:56 1248 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-07-09 11:01:56 2280 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-07-09 11:01:56 2280 [Note] InnoDB: The InnoDB memory heap is disabled
2014-07-09 11:01:56 2280 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-07-09 11:01:56 2280 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-07-09 11:01:56 2280 [Note] InnoDB: Not using CPU crc32 instructions
2014-07-09 11:01:56 2280 [Note] InnoDB: Initializing buffer pool, size = 165.0M
2014-07-09 11:01:56 2280 [Note] InnoDB: Completed initialization of buffer pool
2014-07-09 11:01:56 2280 [Note] InnoDB: Highest supported file format is Barracuda.
2014-07-09 11:01:56 2280 [Note] InnoDB: The log sequence numbers 1810266 and 1810266 in ibdata files do not match the log sequence number 1810276 in the ib_logfiles!
2014-07-09 11:01:56 2280 [Note] InnoDB: Database was not shutdown normally!
2014-07-09 11:01:56 2280 [Note] InnoDB: Starting crash recovery.
2014-07-09 11:01:56 2280 [Note] InnoDB: Reading tablespace information from the .ibd files...
2014-07-09 11:01:56 2280 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace bis/busstop uses space ID: 2 at filepath: .\bis\busstop.ibd. Cannot open tablespace mysql/innodb_index_stats which uses space ID: 2 at filepath: .\mysql\innodb_index_stats.ibd
InnoDB: Error: could not open single-table tablespace file .\mysql\innodb_index_stats.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.


해결방안

C:\Program Files\MySQL\MySQL Server 5.6\data\mysql 이나 data가 저장되는 폴더의 mysql폴더로 이동한다.

폴더를 하나 생성하고 아래와 같은 파일 이동시킨다. 즉 백업하고서 mysql 을 다시 실행 시킨다.

innodb_index_stats.frm 
innodb_index_stats.ibd 
innodb_table_stats.frm 
innodb_table_stats.ibd 
slave_master_info.ibd 
slave_relay_log_info.frm 
slave_relay_log_info.ibd 
slave_worker_info.frm 
slave_worker_info.ibd


참고사이트 링크1, 링크2, 링크3


문제점

▶ 사용자 추가할때 에러 발생
ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value

해결방안

▶ mysql 버전이 높아지면서 보안관련 오류라고 한다. 사용자추가시 몇개의 필드를 추가한다.

로컬접근 허용 mysql> insert into user(host,user,password,ssl_cipher,x509_issuer,x509_subject) -> values ('localhost','사용자명',password('비밀번호'),'','','');

외부접근 허용 mysql> insert into user(host,user,password,ssl_cipher,x509_issuer,x509_subject) -> values ('%','사용자명',password('비밀번호'),'','','');


 실행환경

 Desktop

 조립식

 CPU

 Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz 3.40GHz

 Memory

 8.00 GB

 OS

 Windows 7 Professional K 64bit

 Java

 1.8.0_05

 MySQL

 Ver 14.14 Distrib 5.6.19, for Win64

1. MySQL ODBC 설치하기


2.1. MySQL Connector/ODBC Error 1918


2.2. 해결방안



C:\Windows\System32 안에 msvcr100_clr0400.dll 을 msvcr100.dll 로 바꾸어준다.

(구글에서 찾은 해결방법이므로 기존 파일을 백업하길 바라고, 다른 문제는 책임지지 않습니다.)


+ 추가 문제점

파일명을 변경하고 나면 MySQL Installer 가 실행되지 않았는다. 그래서 복사본이었던 파일을 msvcr_clr0400.dll 로 넣어두었다.


참고사이트

invalid identifier

값 입력시 에러 발생

부적합한 식별자로 컬럼명을 변경한다.

NUMBER X 

+ Recent posts