본문 바로가기
728x90

MySQL6

gsjava select문에 열(컬럼)을 하나 추가해서 나타낼수 잇나요? select문에 열(컬럼)을 하나 추가해서 나타낼수 잇나요? 예를들어 SELECT temp1 FROM temp_table WHERE temp1 >=1; 일때 테이블에 존재하지 않는 temp2라는 이름의 컬럼을 추가하여 임의의 값을 넣어 출력하고싶습니다. 부탁드립니다 -------------------- SELECT "임의값" as temp2, temp1 FROM temp_table WHERE temp1 >=1; 2022. 9. 30.
gsjava mysql marked as crashed and should be repaired. 복구시도 repair table 테이블명; 에러 확인 check table 테이블명; 접속 가능한 수 MariaDB [(none)]> SHOW VARIABLES LIKE '%max_connection%'; +-----------------------+-------+ | Variable_name | Value | +-----------------------+-------+ | extra_max_connections | 1 | | max_connections | 151 | +-----------------------+-------+ 2 rows in set (0.003 sec) 현재 접속수 MariaDB [(none)]> SHOW STATUS LIKE 'Threads_connected'; +---------.. 2021. 7. 19.
gsjava MaraDB 패스워드 변경 커맨드를 이용한 쉬운 방법 * 커맨드를 사용한 방법 //mysqladmin -u아이디 -p기존패스워드 password 신규패스워드 mysqladmin -uroot -proot password newroot 2019. 12. 8.
gsjava mariadb 최신 버전 설치 하기 우분투 설치 확인 sudo apt-cache policy mariadb-server 자신에게 맞는 주소 찾기 https://downloads.mariadb.org/mariadb/repositories MariaDB - Setting up MariaDB Repositories - MariaDB To generate the entries select an item from each of the boxes below. Once an item is selected in each box, your customized repository configuration will appear below. 1. Choose a Distro SLES openSUSE Arch Linux Mageia Fedora CentOS Re.. 2019. 6. 6.
728x90