본문 바로가기

ubuntu

mysql 접속제한 해제 우분투 설치후 root권한으로 mysql로 들어 갈때나 데이터베이스 생성을 할때 패스워드 오류라는 메세지가 뜰때가 있다.권한 부여가 되지 않아서 그런것이다..아래 내용에 따라 하면 해결. 1. mysql 접속 - mysql -u root -p - pw 입력 2. DB change - use mysql; 3. 계정정보 조회 - select host, user, password from user; - 출력결과 +-----------+------+-------------------------------------------+ | host | user | password | +-----------+------+-------------------------------------------+ | localhost .. 더보기
php on ubunto 환경설정 문서 http://wiki.jetbrains.net/intellij/Configuring_PHP_development_environment_on_Ubuntu#Checking_the_Installation 더보기
MySQL 비번을 분실하였을때에 비번을 변경하는 방법(우분투) MySQL 비번을 분실하였을때에 비번을 변경하는 방법입니다. sudo /etc/init.d/mysql stop mysqld 이 중지된것을 확인한 후, sudo mysqld_safe --skip-grant & 그렇게 되면 승인 절차를 거치지 않도록 mysqld 데몬이 실행될것이다. 자, 이제 MySQL 패스워드를 바꿔봅시다. sudo mysql 아래와 같이 입력하시면 비번을 복구하실수 있습니다. use mysql; UPDATE user SET password=PASSWORD('변경할패스워드') where user='root'; FLUSH PRIVILEGES; quit 이제 MySQL데몬을 중지합시다. sudo killall mysqld_safe 다시 MySQL데몬을 시작합시다. sudo /etc/init... 더보기
Could not reliably determine the server's fully qualified domain name (우분투에서 apache설치중 오류) This is just a friendly warning and not really a problem (as in that something does not work). If you insert aServerName localhost in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear. If you have a name inside /etc/hostname you can also use that name instead of localhost. And it uses 127.0.1.1 if it is inside your /etc/hosts:127.0.0.1 localhost 127.0.. 더보기