Data/RDBMS

    MariaDB Reboot Failed to start LSB: Start and stop the mysql database server daemon. mysql 실행 오류

    I faced this problem, and it was really driving me crazy. The error in my case was that there was a mysqld executable from older installation aside from the binaries Iam using. which mysqld pointed to /usr/sbin/mysqld while it should point to /opt/mysql-server I guess that was a leftover from previous installation. My binaries are installed somewhere else , so removing the old installation binar..

    mariadb 초기 패스워드 설정 안했을때 설정하는법 (mysql 5.7>=)

    MySQL Install / 설치 MySQL 공식 제공 Repository를 통해 Linux에 설치하는 것이 가능하다. MySQL Repositories Docker local 환경에서 간단히 테스트 하려면 다음과 같이 docker로 설치해도 된다. Mysql Docker 기본 제공 MySql Server Docker Oracle 제공 MySQL :: MySQL 5.7 Reference Manual :: 2.5.7.2 More Topics on Deploying MySQL Server with Docker docker run --name mysql57 \ -p 3306:3306 \ -e MYSQL_ROOT_PASSWORD=root \ -e MYSQL_ROOT_HOST='%' \ -e TZ='Asia/Se..

    mariadb 계정 권한

    1. centos7에 mysql 5.7.22설치 SET PASSWORD FOR 'root'@'localhost' = PASSWORD('XXXX'); 터미널 접속후 아래대로 비번만 변경하면 해결... 2번 이후로는 할필요없었음. 참고링크 : https://stackoverflow.com/questions/33467337/reset-mysql-root-password-using-alter-user-statement-after-install-on-mac ------------------------------------------------- 2. 설치시 root 비밀번호 넣은적없음 3. 그래서 mysql log 에서 초기비밀번화 확인 /var/log/mysqld.log 4. mysql root 접속 mysql..

    java.sql.SQLException: Access denied for user 오류

    java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)문제원인1.계정에 권한이없다-> 1)cmd 창에서 계정생성후 권한부여 2)insert into user(host,user,password) values('127,0,0,1','아디','passwd(비번)');두개 후 플러쉬2.db 비밀번호가 잘못됬다.->해당원문Not sure how you are passing your password, but what is stored in the database is something like an MD5 of the password. You write a password, eg "OpenSesame" but the..