phpMyAdmin - 오류 mysqli 확장기능이 설치되지 않았습니다. PHP의 설정을 확인하십시오. See our documentation for more information. xampp 환경에서 phpmyadmin 을 클릭했더니 위와 같은 에러가 발생하였다. 구글링을 해서 적용하고 아무리해도 안되는 것이였다. 우연히 http://localhost/phpmyadmin/ 이것을 http://localhost/phpMyadmin/ 이렇게 하니까 되었다.
자바 마리아db jdbc 드라이버 다운로드 https://downloads.mariadb.com/Connectors/java/connector-java-2.4.0/ Connectors/java/connector-java-2.4.0/ - MariaDB downloads.mariadb.com Connectors/java/connector-java-2.4.0/ mariadb-java-client-2.4.0.jar 다운로드를 받으면 된다. 이 블로그에 파일 첨부도 해 놓겠다.
네이버 뉴스를 파싱하는 자바 소스 입니다. package naver_news; import java.io.IOException; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.Node; import org.jsoup.select.Elements; public class NaverNewsTitleCont { public static void main(String[] args) throws Exception { String url = "https://news.naver.com/"; Document doc = Jsoup.connect(url).get(); E..
자바 jdbc 를 이용해 라이믹스 게시판에 insert 하는 소스이다. mariadb-java-client-1.1.9.jar jdbc 드라이버를 사용하는 경우이다. 최신 마리아 db driver는 사용방법이 다르다. myriadb-java-client-2.4.0.jar 는 다른글에서 적어둔다. package jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDateTime; import java.time.format.DateTimeForm..
xe 나 라이믹스에서 사용하는 getSequence() 메소드를 자바에서 구현해보려고 했다. xe getSequence 메소드를 뜯어보니 xe_sequence 테이블에 "0" 을 insert 하고 db_insert_id 를 통해 그 insert된 키값을 가져오는 방식이 였다. 이제 이것을 자바로 구현해야 하는데.. 구글링 해보니 getGeneratedKeys() 라는 메소드가 자바에도 있었다. 이것을 사용하면 된다. String sql = "insert into rx_sequence values(?)"; pstmt = conn.prepareStatement(sql); pstmt.setString(1,"0"); pstmt.executeUpdate(); rs = pstmt.getGeneratedKyes();..
XAMPP 설치 https://www.apachefriends.org/ XAMPP Installers and Downloads for Apache Friends What is XAMPP? XAMPP is the most popular PHP development environment XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to us www.apachefriends.org 메인 화면에 Download > XAMPP for W..
xampp 에서 라이믹스를 설치 하려고 하는데 이미지변환 기능을 사용하기 위해 GD라이브러리가 설치되어 있어야 합니다. 이런 오류가 발생하였다. 구글링해도 잘 나왔는데 외국사이트 보고 해결하였다. https://www.geeksforgeeks.org/how-to-install-php-gd-in-xampp/ How to Install PHP GD in Xampp? - GeeksforGeeks A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive program..
Uncaught TypeError: Cannot read properties of undefined (reading 'list') 웹 화면이 멎는것 처럼 보였다. 출력되야 될게 출력되지 않았다. 뭔가 오류가 발생했다. 흠.. 이상하다.. 또 복사 붙여넣기 과정에서 휴먼에러가 발생했구만.. 자 뭐가 문제인지 찾아보자. 웹 화면에서 발생했으니 F12를 눌러서 개발도구 창을 연다.(DevTools) 콘솔탭을 클릭하니 예상대로 에러메시지가 있었다. Uncaught TypeError: Cannot read properties of undefined (reading 'list') 흠.. 변수 list 를 읽을려고 하는데 문제가 생긴듯 하다. 그래서 찾아가 봤다. 역시나.. ajax("/list.do"); 를 통해 ..
Error updating database. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property It was either not specified and/or could not be found for the javaType / jdbcType combination specified. [2023-06-09 18:04:25] INFO [http-bio-8080-exec-5] jdbc.sqlonly (Log4JdbcCustomFormatter.java:74) - SQL : select LAST_INSERT_ID() [2023-06-09 18:04:25] INFO [http-bio-8080-e..
myBatic ${} #{} 차이 ${}를 사용할 경우 1. SQL Injection 보안 위험이 발생할 수 있다. 2. ${}은 사용자의 입력을 받는 경우(예, 테이블 명, 컬럼 명)에 사용한다. 3. 사용자의 입력값이 따옴표 없이 그대로 사용된다. #{}를 사용할 경우 1. PreparedStatement 생성 2. PreparedStatement 매개 변수 값 안전하게 설정 3. PreparedStatement 가 제공하는 set 계열의 메소드를 사용하여 물음표(?)를 대체할 값을 지정. 4. 들어오는 데이터 물자열로 인식하기 때문에 자동 따옴표 붙음
- Total
- Today
- Yesterday
- ocjap
- 스크래핑
- 인포믹스
- 포인터
- MySQL
- 오라클
- esql
- 자바 smtp
- 자바
- ocajp
- php
- XE
- webix
- 라이믹스
- proc
- xe addon
- 파이썬
- 이클립스
- 파싱
- 플러터
- EC
- KG
- 프로씨
- Python
- XE3
- JDBC
- 문자열
- C언어
- C
- xe애드온
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
