ÎÒµÄmysqlÔõôÀÏ×°²»Éϰ¡£¿
ÎÒ°´ÕÕÕâ¸öÀ´×°È¡µÃ mysql-*.tar.gz áᣬ ì¶ /usr/local Ŀ¼Ï½⿪£º
# cd /usr/local
# tar zxvf mysql-*.tar.gz
# cd mysql-*
É趨 configure °²×°Ñ¡ÏѡÔñ°²×°Ä¿Â¼ £¨prefix£©ÒÔ¼°Ö§Ô®ÖÐÎÄ Big5 Â루with-charset=big5£©£º
# ./configure --prefix=/usr/local/mysql \
#--with-charset=big5
È´³öÏÖÏÂÃæµÄÎÄ×Ö¡£¡£Ôõô»ØÊ£¿
[root@cvs mysql-standard-4.0.18-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --with-charset=big5
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
040225 15:45:25 ./bin/mysqld: Shutdown Complete
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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h cvs 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/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
[url]http://www.mysql.com[/url]
Support MySQL by buying support/licenses at [url]https://order.mysql.com[/url]
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@cvs mysql-standard-4.0.18-pc-linux-i686]# Starting mysqld daemon with databases from /var/lib/mysql
040225 15:45:26 mysqld ended ÒòΪÄãµÄMYSQL²»Ó¦¸ÃÊÇÖ±½Ó´ÓÍøÉÏDOWNµÄ°É¡£¡£ËùÒԲŻá³öÏÖÄÇÖÖÇé¿ö¡£
×Ô¼º×îºÃµ½ÍùÉÏDOWNÒ»¸öSERVERºÍCLIENT¡£¡£ÕâÑù¿Ï¶¨ÄÜ×°ÉÏ¡£¼ÇµÃÒªÓÃ×°LINUXµÄ»ú×ÓDOWNŶ¡£¡£
[url]www.neweasier.com[/url] ÄãÓõÄÊǶþ½øÖư汾£¬²»ÊÇÔ´Âë°æ±¾£¬ËùÒÔ²»ÓÃÕâô°²×°£¬ÏÂÏÂÀ´£¬½â°ü£¬½¨Á¢mysqlÓû§£¬È»ºóÉèÖÃÒ»ÏÂȨÏÞ£¬¾Í¿ÉÒÔÖ±½ÓÓÃÁË¡£
Äã¿´¿´Õâ¸öÌáʾ¾ÍÖªµÀÁË
NOTE: This is a MySQL binary distribution. It's ready to run, you don'tneed to configure it!
NOTE:ÕâÊǸömysqlµÄ¶þ½øÖư汾¡£ËüÒѾ¿ÉÒÔÖ±½ÓÔËÐеġ£Äã²»ÐèÒª£¨Îª±àÒ룩ÅäÖÃËü
Ò³:
[1]