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

mysql 4.1ÒÔÉÏ°æ±¾ÖÐÎÄÂÒÂë½â¾ö·½·¨¼¯½õ

mysql 4.1µÄ¸Ä±äÔì³ÉµÄÂÒÂë½â¾ö·½·¨
µÚÒ»¸ö·½·¨£º
MySQL 4.1 ÖÐÎÄÂÒÂëµÄÎÊÌâ
×î½üÒª½« MySQL 4.0 Éý¼¶µ½ MySQL 4.1 £¬·¢ÏÖÁËÖÐÎÄÂÒÂëµÄÎÊÌ⣬ϣÍûÒÔϼû½â¶Ô´ó¼ÒÓÐÓá£
1. MySQL 4.1 ÔÚÎÄ×ÖÉÏÓкܴó¸Ä½ø£¬ËüÓÐÁË Character Set Óë Collation µÄ¿®Äî¡£
2. ÔÚ MySQL 4.0 £¬Ò»°ãµÄ³Ìʽ¶¼»á½«ÎÄ×ÖÒÔÀ­¶¡ÎÄ ( latin)  À´´¢´æ£¬¾ÍËãÎÒÃÇÊäÈëÖÐÎÄ×Ö£¬½á¹ûÈÔÊÇ·ÅÔÚÒÔÀ­¶¡ÎÄÉèÖõÄÎÄ×ÖÀ¸ÀïÍ·£¬Õâ¶Ô MySQL 4.0 ÓëÒÔ MySQL 4.0 Ϊ»ù³þµÄ³ÌʽÀ´Ëµ£¬²¢²»»áÓÐÎÊÌâ¡£
3. ¿ÉÊÇ MySQL 4.1 µÄϵͳ±àÂëÊÇÔ¤ÉèÓà UTF-8 µÄ£¬µ±Òª restore MySQL 4.0 µÄ backup µµµ½
MySQL 4.1 ʱ£¬ÂÒÂë¾Í³öÏÖÁË¡£Ô­ÒòÔÚÓÚ MySQL 4.1 ½« latin
Âëת»»¹ýÀ´£¬¶øºóת»»ÊDz¢²»ÍêÈ«ÍêÃÀµÄ£¬Õâµ¼ÖÂÁ˳öÏÖÉÙÁ¿ÎÄ×Ö³öÏÖÂÒÂëÏÖÏó¡£
½â¾öPHP´æÈ¡MySQL 4.1ÂÒÂëÎÊÌâ
QUOTE:
´ÓMySQL
4.1¿ªÊ¼ÒýÈëµÄ¶àÓïÑÔÖ§³ÖȷʵºÜ°ô£¬¶øÇÒһЩÌØÐÔÒѾ­³¬¹ýÁËÆäËûµÄÊý¾Ý¿âϵͳ¡£²»¹ýÎÒÔÚ²âÊÔ¹ý³ÌÖз¢ÏÖʹÓÃÊÊÓÃÓÚMySQL
4.1֮ǰµÄPHPÓï¾ä²Ù×÷MySQLÊý¾Ý¿â»áÔì³ÉÂÒÂ룬¼´Ê¹ÊÇÉèÖùýÁ˱í×Ö·û¼¯Ò²ÊÇÈç´Ë¡£ÎÒ¶ÁÁËÒ»ÏÂеÄMySQLÔÚÏßÊÖ²áÖеÚÊ®ÕÂ
"Character Set Support"ºóÖÕÓÚÕÒµ½Á˽â¾ö·½·¨²¢²âÊÔͨ¹ý¡£
MySQL 4.1µÄ×Ö·û¼¯Ö§³Ö(Character Set Support)ÓÐÁ½¸ö·½Ã棺×Ö·û¼¯(Character
set)ºÍÅÅÐò·½Ê½(Collation)¡£¶ÔÓÚ×Ö·û¼¯µÄÖ§³Öϸ»¯µ½Ëĸö²ã´Î:
·þÎñÆ÷(server)£¬Êý¾Ý¿â(database)£¬Êý¾Ý±í(table)ºÍÁ¬½Ó(connection)¡£
²é¿´ÏµÍ³µÄ×Ö·û¼¯ºÍÅÅÐò·½Ê½µÄÉ趨¿ÉÒÔͨ¹ýÏÂÃæµÄÁ½ÌõÃüÁ
CODE:
mysql> SHOW VARIABLES LIKE 'character_set_%';
  +--------------------------+----------------------------+
  | Variable_name | Value |
  +--------------------------+----------------------------+
  | character_set_client | latin1 |
  | character_set_connection | latin1 |
  | character_set_database | latin1 |
  | character_set_results | latin1 |
  | character_set_server | latin1 |
  | character_set_system | utf8 |
  | character_sets_dir | /usr/share/mysql/charsets/ |
  +--------------------------+----------------------------+
  7 rows in set (0.00 sec)
  mysql> SHOW VARIABLES LIKE 'collation_%';
  +----------------------+-------------------+
  |


Ïà¹ØÎĵµ£º

JDBCÁ¬½ÓMySQL³ÌÐò_by ÀÏ´ó&stone

      ѧjava,ÓÐ×ÅÌ«¶àµÄÒÉÎʺͲ»½â,¾­ÀúÁËÎÞÊýËƺõ¼òµ¥µ½ÎÊÌâ½â¾öºóͻȻ·¢ÏÖ×Ô¼ºÄÇôsxµÄµØ²½,È»¶ø¾ÍÎҵĸоõ,¶Ôÿ¸ö³õѧÕßÀ´Ëµ¶¼ÎÞ·¨±ÜÃâµÄÒª¾­¹ýÕâ¸öÈÃÈËÍ´¿àµ½¶ñÐÄŻ͵½µ½»èØʵĵز½;ÕâÒ²ÐíÕýÊÇjava½ø½×֮ǰËùν×òÒ¹Î÷·çµò±ÖÊ÷°ãµÄ±Ø¾­Ö®Í¾°É!
     ·Ï»°²»¶à˵ÁË,ÏÂÃæ ......

³õѧMySQLÄÄЩÐèÒªÄãÖªµÀ

MySQLµÄ»ù±¾ÃüÁî
¡¡¡¡[ ]ÖеÄÄÚÈÝΪ¿ÉÑ¡Ïî
¡¡¡¡--´´½¨Êý¾Ý¿â
¡¡¡¡mysql> create database Êý¾Ý¿âÃû³Æ
¡¡¡¡--´´½¨±í
¡¡¡¡mysql> create table ±íÃû (
¡¡¡¡ÁеÄÃû×Ö£¨id£©ÀàÐÍ£¨int£¨4£©£©primary key(¶¨ÒåÖ÷¼ü) auto_increment£¨ÃèÊö ×ÔÔö£©,
¡¡¡¡……£¬
¡¡¡¡£©£»
¡¡¡¡--²é¿´ËùÓÐÊý¾Ý¿â
¡¡¡¡mys ......

MySql Administrator µÄ¼òµ¥Ê¹Óã¨Í¼£©

ÒýÓà ҹÂä¹ÅÁú µÄ MySql Administrator µÄ¼òµ¥Ê¹Óã¨Í¼£©
 
 
MySQL AdministratorÌṩͼÐνçÃæÒÔ°ïÖúÄã¹ÜÀíMySQLÊý¾Ý¿â£¬WindowsÓû§¿ÉÒÔͨ¹ýÃüÁîÌáʾÐÐÔËÐÐMySQL
Administrator£¬ÔÚÓàÏÂʱ¼äÀïÎÒ¼Ù¶¨ÄãÒѾ­°²×°ÁËMySQL Administrator£¬²¢ÇÒ½«Ê¹ÓÃÏà¹ØͼÀý¡£
MySQL
AdministratorÖ÷½çÃæ
¡¡¡¡´´½¨Êý¾Ý¿â ......

ÐÞ¸ÄMYSQLÃÜÂëºÍÃÜÂëÆƽâµÄ³£Ó÷½·¨

·½·¨Ò»
ʹÓÃphpmyadmin£¬ÕâÊÇ×î¼òµ¥µÄÁË£¬ÐÞ¸Ämysql¿âµÄuser±í£¬²»¹ý±ðÍüÁËʹÓÃPASSWORDº¯Êý¡£
·½·¨¶þ
ʹÓÃmysqladmin£¬ÕâÊÇÇ°ÃæÉùÃ÷µÄÒ»¸öÌØÀý¡£
mysqladmin -u root -p password mypasswd
ÊäÈëÕâ¸öÃüÁîºó£¬ÐèÒªÊäÈërootµÄÔ­ÃÜÂ룬ȻºórootµÄÃÜÂ뽫¸ÄΪmypasswd¡£
°ÑÃüÁîÀïµÄroot¸ÄΪÄãµÄÓû§Ãû£¬Äã¾Í¿ÉÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ