본문 바로가기
반응형
[MariaDB] 테이블 백업 / 복원 방법 1. 백업 # mysqldump -u [아이디] -p [패스워드] [데이터베이스 명] [테이블 명] > [백업할 파일 명].sql 2. 복원 # mysql -u [아이디] -p [비밀번호] [데이터베이스 명] < [백업 파일 명].sql 2022. 9. 14.
[MariaDB] root 패스워드 변경 방법 MSSql Client 를 실행한다. 아래와 같이 입력한다. use mysql set password=password('변경비밀번호'); exit; 나간 후 mysql -u root -p (enter) 하여 변경된 비밀번호로 로그인되는 것을 확인한다. 2022. 9. 14.
Mariadb c connector 우분투 설치 기본 설치 패키지 # apt install build-essential # apt install libssl-dev cmake 빌드 순서 소스 다운로드 및 빌드 후 설치 $ git clone https://github.com/MariaDB/mariadb-connector-c.git $ mkdir build && cd build $ cmake ../mariadb-connector-c/ -DCMAKE_INSTALL_PREFIX=/usr $ make $ sudo make install 2020. 12. 13.
[MariaDB] 원격 접속 방법 https://mariadb.com/kb/ko/ https://mariadb.com/kb/en/library/a-mariadb-primer/ Logging into MariaDB mysql -u //user_name// -p -h //ip_address// //db_name// pass 화면이 뜨면 정상 접속 된 것으로 보면 됨. mysql -u root -p -h 172.16.10.20 If you want to display your tables on the screen. Show tables; Database 선택use test; 2019. 1. 21.
[MariaDB] 사용 명령어 참고 https://mariadb.com/kb/ko/ https://mariadb.com/kb/en/library/a-mariadb-primer/ Logging into MariaDB mysql -u //user_name// -p -h //ip_address// //db_name// pass 화면이 뜨면 정상 접속 된 것으로 보면 됨. If you want to display your tables on the screen. Show tables; 2019. 1. 17.
반응형