Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ubuntu9.10Ï°²×°Mysql 5.5.0 M2

×÷Õߣº°½Ê¿Î°
Mysql ÓõÄÊÇLinux (non RPM packages)
 
Ò»¡¢½«mysql-5.5.0-m2-linux-i686-glibc23.tar.gzÏÂÔص½/home/ikmb ²¢ÔÚµ±Ç°Ä¿Â¼½âѹ£»
 
……..
mysql-5.5.0-m2-linux-i686-glibc23/data/mysql/
mysql-5.5.0-m2-linux-i686-glibc23/data/test/
…………
 
 
¶þ¡¢´´½¨MySQL×飬½¨Á¢MySQLÓû§²¢¼ÓÈëµ½mysql×éÖÐ
ikmb@ikmb-desktop:~/mysql-5.5.0-m2-linux-i686-glibc23/bin$ sudo groupadd mysql 
ikmb@ikmb-desktop:~/mysql-5.5.0-m2-linux-i686-glibc23/bin$ sudo useradd -g mysql mysql 
 
Èý¡¢½øÈëĿ¼/usr/local£¬½âѹËõÃâ°²×°°æ£¬²¢ÔÚ´ËĿ¼Öн¨Á¢ÃûΪmysqlµÄÈíÁ´½Ó
ikmb@ikmb-desktop:~/mysql-5.5.0-m2-linux-i686-glibc23/bin$ cd /usr/local 
ikmb@ikmb-desktop:/usr/local$ sudo ln -s /home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23 mysql
ËÄ¡¢É趨Ŀ¼·ÃÎÊȨÏÞ£¬ÓÃmysql_install_db´´½¨MySQLÊÚȨ±í³õʼ»¯£¬²¢ÉèÖÃmysql,rootÕʺŷÃÎÊȨÏÞ
ikmb@ikmb-desktop:/usr/local$ sudo chown 777 -R mysql
ikmb@ikmb-desktop:/usr/local$ sudo chown -R mysql . 
ikmb@ikmb-desktop:/usr/local$ sudo chgrp -R mysql .
ikmb@ikmb-desktop:/usr/local$ cd mysql
 
Îå¡¢Ìí¼ÓMySQLÅäÖÃÎļþ
 
ikmb@ikmb-desktop:~/mysql-5.5.0-m2-linux-i686-glibc23/support-files$ sudo cp /home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23/support-files/my-large.cnf /etc/my.cnf
 
Áù¡¢ÓÃmysql_install_db´´½¨MySQLÊÚȨ±í³õʼ»¯£¬×¢ÒâbasedirÑ¡Ïî
ikmb@ikmb-desktop:~/mysql-5.5.0-m2-linux-i686-glibc23/scripts$ sudo ./mysql_install_db --user=mysql  --basedir=/home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23
Installing MySQL system tables...
OK
Filling help tables...
OK
………..
/home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23/bin/mysqladmin -u root password 'new-password'
/home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23/bin/mysqladmin -u root -h ikmb-desktop password 'new-password'
Alternatively you can run:
/home/ikmb/mysql-5.5.0-m2-linux-i686-glibc23/bin/mysql_secure_installation
which will also give you the option of removing the test
databas


Ïà¹ØÎĵµ£º

ÔÚUbuntuÖÐͨ¹ýÔ´Âë°²×°±àÒë°²×°Èí¼þ(MySQLƪ)

        ʹÓÃUbuntu
Server×÷Ϊ±¾µØ²âÊÔ»·¾³ÒѾ­ÓÐÒ»¶Îʱ¼äÁË£¬Ò»Ö±¶¼ÊÇʹÓÃapt-get·½Ê½À´°²×°¸÷ÖÖÓ¦ÓÃÈí¼þ£¬Í¨¹ýÔ´Âë±àÒë°²×°Ó¦ÓÃÈí¼þÊÇLinuxºÍUnix»·
¾³ÏÂ×î³£Óõķ½Ê½¡£Í¨¹ýÔ´Âë±àÒë°²×°µÄ×î´óºÃ´¦¾ÍÊÇÄãÖªµÀ×Ô¼º×öÁËʲô£¬ÕâÖÖ·½Ê½°²×°Èí¼þ×ÔÓÉÁé»î£¬Ò²ÊÊÓÃÓÚ¸÷ÖÖƽ̨¡¢Î¬»¤·½±ã£ ......

Ubuntu9.10_server_Ï°²×°Mysql 5.5.0 M2

×÷Õߣº°½Ê¿Î°
Mysql ÓõÄÊÇLinux (non RPM packages)
Ò»¡¢½«mysql-5.5.0-m2-linux-i686-glibc23.tar.gzÏÂÔص½/home/ikmb ²¢ÔÚµ±Ç°Ä¿Â¼½âѹ£»
……..
mysql-5.5.0-m2-linux-i686-glibc23/data/mysql/
mysql-5.5.0-m2-linux-i686-glibc23/data/test/
…………
¶þ¡¢´´½¨MySQL×飬 ......

MySQLµÄ±íËøÎÊÌâ(¶þ)——InnoDB±íËøÎÊÌâ

Ê×ÏȲ¹³äÏÂMySQLµÄ±íËøÎÊÌâ(Ò»)û½²µ½µÄϵͳ¿ÉÒÔͨ¹ýÉèÖÃmax_write_lock_count²ÎÊýÀ´¿ØÖÆдµÄÓÅÏȼ¶,µ±Ò»¸ö±íµÄ¶ÁËø´ïµ½Õâ¸öÊýµÄʱºò,MySQL»áÔÝʱµÄ,½µµÍдµÄÓÅÏȼ¶.MySQL¾¡Á¿ÉÙÓÃһЩ¿´Ëƾ«Ã¸´ÔÓµÄÓï¾ä,ÒòΪÄ㸴ÔÓ¿ÉÄܵ¼Ö¸ø±í¼ÓµÄ¶ÁËøʱ¼ä¾Í³¤,»áµ¼ÖÂдµÄ²Ù×÷ÎÞ·¨½øÐÐ. innodbºÍMyISAM×î´óµÄÇø±ðÔÚÓÚinnodbÖ§³ÖÊÂÎñ´¦ ......

mysqlÃüÁî

²âÊÔ»·¾³£ºmysql 5.0.45
¡¾×¢£º¿ÉÒÔÔÚmysqlÖÐͨ¹ýmysql> SELECT VERSION();À´²é¿´Êý¾Ý¿â°æ±¾¡¿
ÕûÀí£ºleo
Ò»¡¢Á¬½ÓMYSQL¡£
¸ñʽ£º mysql -hÖ÷»úµØÖ· -uÓû§Ãû £­pÓû§ÃÜÂë
1¡¢Á¬½Óµ½±¾»úÉϵÄMYSQL¡£
Ê×ÏÈ´ò¿ªDOS´°¿Ú£¬È»ºó½øÈëĿ¼mysql\bin£¬ÔÙ¼üÈëÃüÁîmysql -u root -p£¬»Ø³µºóÌáʾÄãÊäÃÜÂë.×¢ÒâÓû§ÃûÇ°¿ÉÒÔÓп ......

MysqlË÷Òý

MySQLË÷Òý¼ò½é... 1
Ò»¡¢Ë÷Òý·Öµ¥ÁÐË÷ÒýºÍ×éºÏË÷Òý…………………………………………………………………………………&hel ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ