>> Edit article
이름
제목
패스워드
apm 연동하려고 mysql 설치했는데 에러가 자꾸 뜨네요. # ./mysql -u root ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO) 그래서 이렇게 해봤는데 # ./mysql -u mysql Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 6 to server version: 4.0.7-gamma-standard Type 'help;' or 'h' for help. Type 'c' to clear the buffer. 위 같이 나오면 되는건가요? # ./safe_mysqld --language=korean& [2] 3191 # The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. [2]+ Exit 1 ./safe_mysqld --language=korean 이거는 또 왜 그러는거죠? 로그에 보면 아래와 같이 나와있습니다. 030102 23:49:28 mysqld started 030102 23:49:28 InnoDB: Out of memory in additional memory pool. InnoDB: InnoDB will start allocating memory from the OS. InnoDB: You may get better performance if you configure a bigger InnoDB: value in the MySQL my.cnf file for InnoDB: innodb_additional_mem_pool_size. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 030102 23:49:28 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 030102 23:49:29 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 030102 23:49:30 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 030102 23:49:31 InnoDB: Started /usr/local/mysql/bin/mysqld: 연결 준비중입니다. 030103 15:22:39 /usr/local/mysql/bin/mysqld: 정상적인 shutdown 030103 15:22:40 InnoDB: Starting shutdown... 030103 15:22:42 InnoDB: Shutdown completed 030103 15:22:42 /usr/local/mysql/bin/mysqld: Shutdown 이 완료됨! 그리고 php를 연동하려고 apache/conf/httpd.conf를 수정하려고 AddType application/x-httpd-php .php를 아무리 찾아봐도 없네요 <IfModule mod_dir.c>도요... # /etc/rc.d/init.d/httpd start를 해도 에러 나옵니다. 이렇게 : /etc/rc.d/init.d/httpd restart httpd 를 정지함: [실패] httpd (을)를 시작합니다: Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf: Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory [실패] 그런데 /usr/local/apache/bin에서 apachectl start로 하면 아무런 메세지도 안뜨고 pstree에서 보면 httpd가 떠 있습니다. /etc에서 실행하는 거랑 apache/bin에서 실행한 거랑 뭐가 다르죠? 그리고 httpd.conf를 어떻게 수정해야 php가 작동이 되죠? 위에서 설명한것 처럼 주석 처리된 장소가 없거든요? 그래서 임의로 처넣었습니다. 테스트를 해봤는데 함수 그대로 보여집니다. 너무 많죠? ㅠ.ㅠ 부탁드립니다.--궁금해요...
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved