OS : Debian 10 64Bit MySQL : 8.0.23 Community Server 64Bit mysql 서버의 데이터가 커지면서 새로운 디스크를 추가 하여 /opt/home/ 에 마운트를 하였고, mysql 의 데이터 디렉토리를 이동 시키기로 하였다. root@freecatz-pe-kr:/# service mysql stop root@freecatz-pe-kr:/# cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/mysql.conf.d/mysqld.cnf.ori root@freecatz-pe-kr:/# vi /etc/mysql/mysql.conf.d/mysqld.cnf #datadir=/var/lib/mysql datadir=/opt/home/mysql..
참고 : https://cloudjak.tistory.com/17 1. Selected Database Backup freecatz@FREECATZ-PE-KR:~$ mysqldump --routines --trigger -u사용자계정 대상데이터베이스 > 백업파일이름 예) mysqldump --routines --trigger -ufreecatz freecatz > freecatz.sql Enter password: 1-1. Selected Database Restore freecatz@FREECATZ-PE-KR:~$ mysql --routines --trigger -u사용자계정 대상데이터베이스 mysql_all_backup.sql 2-1. All Database Restore freecatz@FREECA..
root@freecatz-pe-kr:~# uname -a freecatz-pe-kr 3.2.0-6-amd64 #1 SMP Debian 3.2.101-1 x86_64 GNU/Linux root@freecatz-pe-kr:~# mysql --version mysql Ver 14.14 Distrib 5.5.47, for debian-linux-gnu (x86_64) using readline 6.2 root@freecatz-pe-kr:~# mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) root@freecatz-pe-kr:~# /etc/init.d/m..
- Total
- Today
- Yesterday
- devel
- 엘리스센터
- SSL
- web
- dart
- springboot
- place
- Android
- json parse
- Security
- 맛집
- Compile
- HTTP
- JavaScript
- Spring
- samba
- Review
- Mobile
- development
- gpkiapi
- devtools
- Linux
- Java
- ssh
- MySQL
- TIP
- Flutter
- kotlin
- food
- Fun
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |