window환경에서 mysql workbench에서 접속의 실패에러가 계속 발생했다. 에러내용은 이렇다. can’t connect Mysql 5.* server on ‘127.0.0.1’ (10061) 다양한 블로그를 찾아본 결과 해결방법은 아래와 같다. 1) # bind-address = 127.0.0.1 etc/mysql/my.cnf 파일에서 bind-address = 127.0.0.1 이라는 부분을 주석처리 할 것 (앞에 #을 붙여주면 된다) 접속가능한 IP가 127.0.0.1로 Lock이 되어있는 상태를 주석처리를 해줌으로써 lock을 해제한다. 2) mysql에 접속하여 root계정으로 접속이 가능한 host를 127.0.0.1에서 모든 IP로 변경할 것 변경한 환경설정에 맞춰서 mysql에서도..
sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db Ubuntu 14.10 “utopic”. sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu utopic main' Ubuntu 14.04 “trusty” . sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu trusty main' Ubuntu 12.04 LTS “precise”. sudo ..
Hostname 설정이 서버에 이름을 정하는 것이다. 이름을 잘 정해 두어야 나중에 다중 서버작업을 할 때 헷갈리지 않는다.위의 뜻은 “li599-115 서버에 root 사용자” 라는 뜻이다.서버 이름은 FQDN(Fully Qualified Domain Name)을 쓰는 것이 좋다.참고로 라엘이의 이 블로그 서버의 hostname은 blog.lael.be 이다. #vi /etc/hostname빈 파일일 건데(또는 기존 hostname이 쓰여있을것임.) 원하는 이름으로 바꾼다.권장하는 단어는 이 서버에 연결될 대표 도메인이다. 예를 들어 blog.lael.be 같은 것. 적용한다.#hostname -F /etc/hostname 서버에 재 접속하면 적용된 것을 확인 할 수 있을 것이다.hostname 값은 ..
[javascript] 자바스크립트로 내 IP확인하기_(공인ip) 1. 코드 공개 아래에, 전체 코드를 작성하였습니다. 구글과 네이버검색을 많이 이용하는데 블로그에서 이렇게 적어주는게 편한 기억이 많았습니다^^ 2. 예제파일명 : index.html $.getJSON('http://jsonip.appspot.com/?callback=?', function(data){ alert(data.ip); });Probably easier to understand - an alternative, without jQuery, would be: Note that when you include http://jsonip.appspot.com/?callback=getip as a script in your HTML you ..
http://bxslider.com/examples/carousel-demystified JS:$(document).ready(function(){ $('.slider8').bxSlider({ mode: 'vertical', slideWidth: 300, minSlides: 2, slideMargin: 10 }); }); HTML: Vertical carousels follow most of the same rules as horizontal carousels. However, the maxSlides setting is not used as vertical carousels will always have only one slide across. Therefore, we do not have to acc..
00 * * * * rdate -s time.bora.net && date >> /dev/null
1. 데이터베이스 백업하기 1-1) procedure, function, trigger 포함한 백업하기(옵션 --routines --trigger) $ mysqldump --routines --trigger -u유저이름 -p패스워드 DB명 > 백업파일 명령어 예제). $ mysqldump --routines --trigger -uroot -pxxx -A > /xxx.sql $ mysqldump --routines --trigger -uroot -pxxx [DATABASE] > [DATABASE].sql 2-2) procedure function trigger만을 백업하기 $ mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt..