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

½âѹ°æ/Ãâ°²×°°æMySQLÅäÖÃÈ«½â

Ò» ÏÂÔØMySQL
http://dev.mysql.com/downloads/mysql/5.0.html
½âѹMySQL£¨F:\Program Files\MySQL\£©MySQL°²×°Ä¿Â¼
¶þ н¨my.ini
ÔÚF:\Program Files\MySQL\Ͻ¨Á¢my.iniÎļþ£¬ÄÚÈÝΪ
my.ini
[mysqld]
# ÉèÖÃmysqlµÄ°²×°Ä¿Â¼
basedir=F:\\Program Files\\MySQL
# ÉèÖÃmysqlÊý¾Ý¿âµÄÊý¾ÝµÄ´æ·ÅĿ¼£¬±ØÐëÊÇdata£¬»òÕßÊÇ\\xxx-data
datadir=F:\\Program Files\\MySQL\\data
# ÉèÖÃmysql·þÎñÆ÷µÄ×Ö·û¼¯ £¬Ä¬ÈϱàÂë
default-character-set=latin1
[client]
# ÉèÖÃmysql¿Í»§¶ËµÄ×Ö·û¼¯
default-character-set=latin1
[WinMySQLAdmin]
# Ö¸¶¨mysql·þÎñÆô¶¯Æô¶¯µÄÎļþ
Server=F:\\Program Files\\MySQL\\bin\\mysqld.exe
Èý ×¢²áMySQL·þÎñ£¬Ê¹MySQL¿ÉÒÔÔÚ·þÎñÏîÄ¿ÖÐÆô¶¯»ò¹Ø±Õ
 1£©½øÈ밲װĿ¼\bin£¬Ö´ÐУº
    F:\Program Files\MySQL\bin>mysqld -install
    ÏÔʾ£ºService successfully installed. Ôò×¢²á·þÎñ³É¹¦¡£
Èç¹ûҪɾ³ý·þÎñ£º
F:\Program Files\MySQL\bin>mysqld -remove
 2£©ÐÞ¸Ä×¢²á±í£º
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MySQL\ImagePath
ÐÞ¸ÄΪ£º
"F:\Program Files\MySQL\bin\mysqld" --defaults-file=
"F:\Program Files\MySQL\my.ini" MySQL
ÕâÑùÅäÖþͿÉÒÔʹÓÃnet start mysqlÃüÁîÕý³£Æô¶¯MySQL¡£
ËÄ ÐÞ¸ÄrootÃÜÂë
MySQLÅäÖúúó£¬Æô¶¯³É¹¦£¬Ä¬ÈÏÃÜÂëÊÇ¿Õ£¬µ«ÊÇΪÁË°²È«£¬ÉèÖÃÃÜÂ루һ°ãÓû§ÃûΪroot£¬ÃÜÂëΪroot£©¡£
1£©µÇ¼MySQL rootÓû§£º
   ½øÈëMySQL°²×°Ä¿Â¼\bin£¬Ö´ÐУº
   F:\Program Files\MySQL\MySQL-6.0.7\bin>mysql -u root;
2£© ÐÞ¸ÄrootÃÜÂ룺
       mysql> update mysql.user set password=PASSWORD('new password') where User='root'; 
       mysql> flush privileges;
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/oswin_jiang/archive/2009/08/11/4433481.aspx


Ïà¹ØÎĵµ£º

ÈçºÎ¸ü¸ÄÔÚUbuntuϵÄMySQLµÄĬÈÏÊý¾Ý¿â´æ´¢Î»ÖÃ

ÔÚUbuntuÏ°²×°µÄMySQLĬÈÏÅäÖÃϵÄÊý¾Ý¿âÎļþ´æ´¢Î»ÖÃÊÇÔÚ/var/lib/mysql£¬
MySQLÊý¾Ý¿âµÄÎļþ½á¹¹ÊÇÔõôÑùµÄÄØ£¬¶ÔÓÚÕâÑù×Ó´´½¨µÄÊý¾Ý¿âÃüÁ
¡¡¡¡CREATE¡¡DATABASE¡¡mysqldb
¡¡¡¡ÔÚĬÈϵÄÊý¾Ý¿â´æ´¢Î»ÖÃϾͻáÓиöÎļþ¼Ðmysqldb¡£Òª²Ù×÷Êý¾Ý¿âÊ×ÏȵÃÍ£Ö¹Êý¾Ý¿â½ø³Ì£º
¡¡¡¡$sudo¡¡/etc/init.d/mysql¡¡stop
±¾ÎÄÒÔת ......

RedHat Enterprise Linux 5ÏÂÅäÖÃApache,Mysql,Php

[¾­¹ý°²×°²âÊԳɹ¦µÄ·½·¨from CYBEND ]
µÚÒ»²½£ºÏµÍ³ÓëÈí¼þµÄ×¼±¸
ϵͳ°æ±¾ redhat enterprise linux 5 ,Äں˰汾 2.6.18
µÚ¶þ²½£ºÈí¼þ°üµÄ×¼±¸
httpdÈí¼þ°ü£ºhttpd-2.2.8.tar.bz2
mysqlÈí¼þ°ü´Ómysql¹Ù·½ÍøÕ¾ÏÂÔØ£¬ÎÒÑ¡ÓõÄÊÇehel5µÄrpm°ü
MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
MySQL-client-community ......

MySQL¿Í»§¶ËÃüÁîÐÐÓ¦Óü¼ÇÉ

1.ʵÏÖTAB¼ü²¹È«
SHELL>vi /etc/my.cnf
[mysql]
#no-auto-rehash
auto-rehash
SHELL>reboot mysqld
note: 1.ÒªÏÈuseµ½Ä³¸öÊý¾Ý¿âÏ£»2.Òª²¹È«µÄ¹Ø¼ü×ÖÐèÒª´óд¡£
2.promptÈòÙ×÷¸ü¼ÓÇå³þ
mysql>prompt \u@\h(\d) \r:\m:\s    (ÁÙʱ)
[mysql]   £¨³¤¾Ã£©
prompt=\\u@\\h
3.pagerÈÃä ......

IIS6.0+PHP+MYSQLÅäÖÃ

Win2003server Ï¼ÜÉèPHPWind²úÆ·»·¾³
°²×°Ç°×¼±¸:1¡¢°²×°ºÃiis6
            
             
            
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ