DB관련14 aws mysql설치 [Can't install mysql on CentOS 7]https://www.digitalocean.com/community/questions/can-t-install-mysql-on-centos-7 [How to install latest mysql 5.6 on CentOS7]http://serverlab.org/view/8/How-to-install-latest-mysql-5.6-on-CentOS7 https://opentutorials.org/module/1071/7327http://opennaru.tistory.com/104 2015. 9. 24. PreparedStatement / Statement String sql = "delete from tbl_book where title=?";PreparedStatement ps = conn.prepareStatement(sql);ps.setString(1, title);ps.executeUpdate(); String sql= "insert into tbl_book values('"+title+"',"+price+",'"+name+"',"+page+")";Statement st = conn.createStatement();st.executeUpdate(sql); 2015. 6. 30. 이전 1 2 3 4 다음