Linuxϵݲװ²½Ö裺
¡¡¡¡ÍƼöʹÓÃRPM¹¤¾ßÀ´½øÐÐLinuxϵÄMySQLÊý¾Ý¿â°²×°¡£Ä¿Ç°µÄMySQL rpm°²×°Îļþ°üÊÇÔÚSuSE Linux 7.3ϵͳƽ̨ÉÏ´òÔì¶ø³ÉµÄ£¬µ«ÊÇÔÚ¾ø´ó¶àÊýÖ§³ÖRPMºÍglibcµÄÆäËûLinuxƽ̨ÖÐÒ²¿ÉÒÔ½øÐа²×°¡£Èç¹ûÑ¡ÔñͨÓõÄRPM°²×°°ü£¬ÄÇôRPM½«¾²Ì¬Á´½Óµ½LinuxµÄÏß³ÌÖС£ÏÂÃæ²½ÖèÖ´ÐÐÁËÒ»¸ö±ê×¼µÄ×îС»¯°²×°£º
ÒýÓÃ:shell> rpm -i MySQL-server-VERSION.i386.rpm
shell> rpm -i MySQL-client-VERSION.i386.rpm
°²×°Íê³Éºó¼ÇµÃÐ޸ijõʼĬÈÏÃÜÂë¡£
Unix»·¾³Ïµİ²×°²½Ö裺
ʹÓÃ.tarµÄ¶þ½øÖÆÎļþ°²×°Ê±£¬ÐèÒªGNUµÄgunzip¹¤¾ß£¬»ù±¾²½ÖèÈçÏÂ
ÒýÓÃ:shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
°²×°Íê³Éºó¼ÇµÃÐ޸ijõʼĬÈÏÃÜÂë¡£