먼저 tester1이라는 사용자 생성CREATE USER 'tester1'@'localhost' IDENTIFIED BY 'password'; 첫번째 진행1. mysql -u root -p에서 진행MariaDB [mysql]> create database tester1db;-- CREATE 권한 부여-- tester1 사용자에게 tester1db 데이터베이스의 모든 테이블에 대해 CREATE 권한을 부여MariaDB [mysql]> grant create on tester1db.* to tester1@localhost;Query OK, 0 rows affected (0.002 sec)-- drop 권한 부여-- tester1 사용자에게 tester1db 데이터베이스의 모든 테이블에 대해 DROP 권한을..
아래 사이트 접속https://jexcelapi.sourceforge.net/ JExcelApi Java Excel API is a mature, open source java API enabling developers to read, write, and modifiy Excel spreadsheets dynamically. Now java developers can read Excel spreadsheets, modify them with a convenient and simple API, and write the changes to ajexcelapi.sourceforge.netFiles 클릭jexcelapi 클릭2.6.12 클릭 jexcelapi_2_6_12.zip 클릭다운받은 jxcelapi..
아래와 같이 인자값을 받으면 그에 맞는 구구단을 출력하는 파일을 생성하는 프로그램을 짜보자java Gugudan 3단import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;public class Gugudan { public static void main(String[] args) { // TODO Auto-generated method stub FileOutputStream fos = null; try { fos = new FileOutputStream("./" + args[0] + ".txt"); int dan = Integer.parseInt(args[0].r..