본문 바로가기

728x90

mysql

MySQL [error] cannot remove `libtoolT': No such file or directory 오류 MySQL [error] cannot remove `libtoolT': No such file or directory 오류 [error] cannot remove `libtoolT': No such file or directory /bin/rm: cannot remove `libtoolT': No such file or directory config.status: executing default commands 이 오류는 libtoolT 파일을 찾을 수 없다는 것을 나타내며, 일반적으로 Cronolog를 설치할 때 발생할 수 있습니다. 이 오류를 해결하기 위해 아래와 같은 단계를 따라 진행할 수 있습니다. 1. libtoolT 파일 확인 먼저, libtoolT 파일이 실제로 시스템에 존재하는지 확인해야 .. 더보기
[mysql] 리눅스 쉘상태에서 DB 및 테이블 생성(mysqlshow) DB 생성 [root@byungun ~]# cat temp.sql create database tempdb; [root@byungun ~]# mysql -u root -p mysql < ./temp.sql [root@byungun ~]# mysqlshow -u root -p Enter password: +--------------------+ | Databases | +--------------------+ | information_schema | | first | | mysql | | tempdb | | test | +--------------------+ [root@byungun ~]# 테이블 생성 [root@byungun ~]# cat temp_table.sql create table temptab.. 더보기
MySQL Replication을 위한 계정을 생성하는 방법 MySQL Replication을 위한 계정을 생성하는 방법 1. MySQL 서버에 관리자 권한으로 로그인합니다. mysql -u root -p 2. Replication을 위한 새로운 사용자를 생성합니다. 사용자 이름과 비밀번호는 원하는 값으로 대체하세요. CREATE USER 'repluser'@'%' IDENTIFIED BY 'replpassword'; 여기서 'repluser'는 사용자 이름이고 '%'는 모든 호스트를 나타냅니다. '%' 대신에 특정 호스트를 지정할 수도 있습니다. 3. Replication 권한을 부여합니다. GRANT REPLICATION SLAVE ON *.* TO 'repluser'@'%'; 또는 GRANT REPLICATION SLAVE, REPLICATION CLIENT.. 더보기
MySQL의 root 사용자 패스워드를 설정하고 변경하는 방법 MySQL의 root 사용자 패스워드를 설정하고 변경하는 방법 1. MySQL 설치 후 root 패스워드 설정 MySQL을 처음 설치한 경우 root 사용자의 패스워드를 설정해야 합니다. sudo mysql_secure_installation 위 명령어를 실행하면 다음과 같은 대화형 설정 프롬프트가 나타납니다. Securing the MySQL server deployment. Enter password for user root: 여기서 새로운 root 패스워드를 입력하고 엔터를 눌러 계속 진행합니다. 2. 기존 root 패스워드 변경 만약 이미 root 패스워드가 설정되어 있다면, 다음과 같이 MySQL 콘솔에서 root 패스워드를 변경할 수 있습니다. mysql -u root -p 위 명령어를 실행하.. 더보기
MySQL Cannot find MySQL headers 오류 MySQL Cannot find MySQL headers 오류 이 오류는 소프트웨어나 라이브러리를 컴파일하거나 설치하는 동안 MySQL 헤더 파일을 찾을 수 없을 때 발생합니다. 컴파일 시 오류 configure: error: Cannot find MySQL headers. Use --with-mysql= to specify non-default path. 1. MySQL 개발 패키지 설치 MySQL 헤더 파일은 보통 MySQL 개발 패키지에 포함되어 있습니다. 따라서 시스템에 MySQL 개발 패키지가 설치되어 있는지 확인하고 없다면 설치해야 합니다. Debian/Ubuntu 계열 sudo apt-get install libmysqlclient-dev Red Hat/Fedora 계열 sudo yum in.. 더보기
[MySQL] mysql 캐릭터 셋 변경(utf8) MySQL 캐릭터 셋 변경(utf8) mysql> show variables like 'char%'; mysql> show table status from [데이터베이스명] like '테이블명'; vi /etc/my.cnf [client] default-character-set = utf8 [mysqld] init_connect = SET collation_connection = utf8_general_ci init_connect = SET NAMES utf8 default-character-set = utf8 character-set-server = utf8 collation-server = utf8_general_ci [mysqldump] default-character-set = utf8 [mysq.. 더보기
MySQL error: No curses/termcap library found MySQL error: No curses/termcap library found MySQL을 컴파일 설치 시 오류 checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... configure: error: No curses/termcap library found MySQL을 컴파일 설치 중 "No curses/termcap library found"와 같은 오류 메시지가 표시되는 경우, 이 오류는 필요한 라이 브.. 더보기
[Cacti] cacti 설치1 APM 설치 1. apache 설치 # yum -y install httpd 2. mysqㅣ 설치 # yum -y install mysql mysql-server mysql-devel 3. 필요 라이브러리 설치 # yum -y install gd gd-devel libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel fontconfig fontconfig-devel libxml2 libxml2-devel openssl openssl-devel gmp gmp-devel mhash mhash-devel libmcrypt libmcrypt-devel 4. php 및 php-mysql 연동 설치 # yum -y install php php-mysql.. 더보기

반응형