mysql 소스화일중 컴파인된부분과 그렇지 않은것이 있는걸로 알고있습니다.
소스 컴파일 된 mysql(버전).tar.gz화일은
tar xvfpz mysql(버전).tar.gz:
mv mysql(버전) /usr/local/mysql
cd /usr/local/mysql
./script/table ~~ ( 요기부분 정확지 않습니다. )
./bin/safe_mysqld &
./bin/mysqladmin -u root -p password 'new-password'
이런식으로 하시면 되고
컴파일이 안된거라면
tar xvfpz mysql(버전).tar.gz:
mv mysql(버전) /usr/local/mysql
cd /usr/local/mysql
./configure --prefix=/usr/local/mysql --with-charset=euc_kr
make
make install
./bin/safe_mysqld &
./bin/mysqladmin -u root -p password 'new-password'
이런식으로 하시는것이 날듯합니다.
참고로 중간에 useradd mysql을 해주셔야하며
mysql 란 유저권한을 mysql폴터 밑으로 다 걸어주시면 이상없을듯하네요.
: mysql 설치할때 tar 로 풀어주고
:
: ./configure --prefix=/mysql --with-charset=euc_kr
:
: 요 명령어를 치면
:
: NOTE: This is a MySQL binary distribution. It's ready to run, you don't
: need to configure it!
:
: To help you a bit, I am now going to create the needed MySQL databases
: and start the MySQL server for you. If you run into any trouble, please
: consult the MySQL manual, that you can find in the Docs directory.
:
: Installing all prepared tables
:
: To start mysqld at boot time you have to copy support-files/mysql.server
: to the right place for your system
:
: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
: This is done with:
: ./bin/mysqladmin -u root -p password 'new-password'
: ./bin/mysqladmin -u root -h raperhyol -p password 'new-password'
: See the manual for more instructions.
:
: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
: the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
: able to use the new GRANT command!
:
: You can start the MySQL daemon with:
: cd . ; ./bin/safe_mysqld &
:
: You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
: cd sql-bench ; run-all-tests
:
: Please report any problems with the ./bin/mysqlbug script!
:
: The latest information about MySQL is available on the web at
: http://www.mysql.com : Support MySQL by buying support/licenses at https://order.mysql.com :
: Starting the mysqld server. You can test that it is up and running
: with the command:
:
: ./bin/mysqladmin version
: Starting mysqld daemon with databases from /usr/src/mysql-3.23.51-pc-linux-gnu-i686/data
: 020717 17:58:41 mysqld ended
:
: 이렇게 나오면서 안되요...
:
: 리눅스를 다시깔아봐도 이렇게 나와요...
:
: 제가 가지고 있는 리눅스 책이랑 똑같이 했는데...
:
: 어떻게 해야할지 모르겠습니당~~~ㅜㅜ--삽질맨