- 설치 환경

  * fedora17 32bit

  * root 계정으로 설치


- 설치 파일

  * MySQL-server-5.5.29-1.linux2.6.i386.rpm

  * MySQL-client-5.5.29-1.linux2.6.i386.rpm

    - /usr/bin/mysql 및 /usr/bin/mysqladmin 등 mysql server에 접근 할 수 있는 tool 제공

  * MySQL-shared-5.5.29-1.linux2.6.i386.rpm


- 설치

# ll

-rw-rw-r--. 1 root root 16923959 Jan  3 11:38 MySQL-client-5.5.29-1.linux2.6.i386.rpm

-rw-rw-r--. 1 root root 51875776 Jan  2 19:53 MySQL-server-5.5.29-1.linux2.6.i386.rpm

-rw-rw-r--. 1 root root  1923090 Jan  3 11:38 MySQL-shared-5.5.29-1.linux2.6.i386.rpm


# rpm -Uivh MySQL-server-5.5.29-1.linux2.6.i386.rpm 

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:


/usr/bin/mysqladmin -u root password 'new-password'


Alternatively you can run:

/usr/bin/mysql_secure_installation


which will also give you the option of removing the test

databases and anonymous user created by default.  This is

strongly recommended for production servers.


See the manual for more instructions.


Please report any problems with the /usr/bin/mysqlbug script!


# rpm -Uivh MySQL-client-5.5.29-1.linux2.6.i386.rpm 
Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]

# rpm -Uivh MySQL-shared-5.5.29-1.linux2.6.i386.rpm 
Preparing...                ########################################### [100%]
   1:MySQL-shared           ########################################### [100%]


- 시작 및 종료
# service mysql start

# service mysql stop


- root password 설정

최초 설치 후 root password 설정

/usr/bin/mysqladmin -u root password new-password



'DB > MySQL' 카테고리의 다른 글

mysql 클러스터(cluster)  (0) 2013.03.08
mysql root password 초기화  (0) 2013.01.03
mysql - join  (1) 2012.10.19
mysql - 사용자 정의 변수  (0) 2012.10.15
mysql - boolean 데이터 타입  (0) 2012.09.26
Posted by linuxism
,