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

Mysql·þÎñ°²×°ºÍжÔØÃüÁî

ÆäʵÈç¹ûÄã·þÎñÆ÷ÖØа²×°ÁË,Ò²²»±ØÖØа²×°mysql ¼¸¸öСÃüÁî¾Í¸ã¶¨ÁË
Ê×ÏÈÊÇ°²×°mysql·þÎñ:
mysql-nt –install
net start  mysql
µ±È»Ó´ÔÚbinĿ¼ÔËÐÐÕâ¸öÃüÁîÁË
жÔصÄÃüÁîÊÇ:
net stop "MySQL"
mysqld-nt.exe –remove "MySQL"
ΪʲôÓеÄÅóÓÑжÔز»ÁËÄØ,ÒòΪËûÒѾ­°ÑÔ´Îļþ¶¼É¾³ýÁË »òÕßÔËÐÐжÔغó·þÎñ»¹ÔÚ µ«ÊÇÒѾ­±äΪ½ûÓÃģʽ ÄÇôÖØÆôһϾͺÃÁË


Ïà¹ØÎĵµ£º

×Ô¶¯ÐÞ¸´MySQLµÄmyisam±í

      ³£ÓÃMySQLµÄͯЬ¶¼ÖªµÀÕâ¸ömyisamÀàÐÍµÄ±í¼«ÈÝÒ×Ë𻵣¬¶àÊýÈË¿ÉÄܶ¼ÊÇÓÃmyisamchkÃüÁîÀ´È˹¤ÐÞ¸´£¬ÏÂÃæ½éÉÜÒ»ÖÖ×Ô¶¯ÐÞ¸´myisamµÄ·½·¨£¬Ò²ÊÇÎÒÉÏÎç¸ÕѧµÄ£¬¹²Í¬½ø²½£¬ºÇºÇ~
      ÔÚMySQLµÄÅäÖÃÎļþmy.cnfÖУ¬Æô¶¯Ï·Ö¼ÓÈëmyisam-recoverÉèÖÃÊý¾Ý»Ö¸´¹¦ÄÜ£¬¾ßÌå ......

MySQLÐÔÄÜÓÅ»¯µÄ×î¼Ñ20+Ìõ¾­Ñé

MySQLÐÔÄÜÓÅ»¯µÄ×î¼Ñ20+Ìõ¾­Ñé
ÎÄÕ·ÖÀà:Êý¾Ý¿â
from£ºhttp://www.uml.org.cn/sjjm/201001041.asp
½ñÌ죬Êý¾Ý¿âµÄ²Ù×÷Ô½À´Ô½³ÉΪÕû¸öÓ¦ÓõÄÐÔÄÜÆ¿¾±ÁË£¬Õâµã¶ÔÓÚWebÓ¦ÓÃÓÈÆäÃ÷ÏÔ¡£¹ØÓÚÊý¾Ý¿âµÄÐÔÄÜ£¬Õâ²¢²»Ö»ÊÇDBA²ÅÐèÒªµ£ÐĵÄÊ£¬¶øÕâ¸üÊÇÎÒÃdzÌÐòÔ±ÐèҪȥ¹Ø×¢µÄÊÂÇé¡£µ±ÎÒÃÇÈ¥Éè¼ÆÊý¾Ý¿â±í½á¹¹£¬¶Ô²Ù×÷Êý¾Ý¿âʱ£¨ÓÈÆäÊ ......

mysql ³£ÓÃÃüÁî £¨×ª£©

µÚÒ»ÕС¢mysql·þÎñµÄÆô¶¯ºÍÍ£Ö¹
net stop mysql
net start mysql
µÚ¶þÕС¢µÇ½mysql
Óï·¨ÈçÏ£º mysql -uÓû§Ãû -pÓû§ÃÜÂë
¼üÈëÃüÁîmysql -uroot -p£¬ »Ø³µºóÌáʾÄãÊäÈëÃÜÂ룬ÊäÈë12345£¬È»ºó»Ø³µ¼´¿É½øÈëµ½mysqlÖÐÁË£¬mysqlµÄÌáʾ·ûÊÇ£º
mysql>
×¢Ò⣬Èç¹ûÊÇÁ¬½Óµ½ÁíÍâµÄ»úÆ÷ÉÏ£¬ÔòÐèÒª¼ÓÈëÒ»¸ö²ÎÊý-h»úÆ÷IP
µ ......

MYSQL´ÓÎı¾ÎļþÖ´ÐÐSQL


½«SQLÓï¾ä·Åµ½Ò»¸öÎļþÖÐÈ»ºó¸æËßmysql´Ó¸ÃÎļþ¶ÁÈ¡ÊäÈ룬eg£º
shell>mysql db_name < text_file
Èç¹ûÕýÔÚÔËÐÐmysql£¬¿ÉÒÔʹÓÃ"source"»ò"\."ÃüÁîÖ´ÐÐSQL½Å±¾Îļþ£º
mysql>source filename
mysql>\. filename
ÀýÈ磬ҪÔÚÊý¾Ý¿âtestÖд´½¨±íºÍ²åÈëÊý¾Ý£¬ÆäÖд´½¨±íºÍ²åÈëÊý¾ÝµÄSQLÓï ......

HibernateµÄÓ³ÉäÀàÐÍ hibernate mysqlÓ³ÉäÀàÐÍ

1¡¢HibernateµÄÓ³ÉäÀàÐÍ hibernate mysqlÓ³ÉäÀàÐÍ
Hibernate Ó³ÉäÀàÐÍ
Java ÀàÐÍ
±ê×¼ SQL ÀàÐÍ
´óСºÍÈ¡Öµ·¶Î§
integer »òÕß int
int »òÕß java.lang.Integer
INTEGER
4 ×Ö½Ú
long
long  Long
BIGINT
8 ×Ö½Ú
short
short  Short
SMALLINT
2 ×Ö½Ú
byte
byte  Byte
TINYINT
1 ×Ö½Ú
floa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ