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

MySQLµ¼Èë´óÊý¾Ý¿âÎļþµÄ·½·¨

×òÌ죬¹«Ë¾´Ó·þÎñÆ÷ÉϸãÏÂÀ´Ò»¸ö´óµÄÊý¾Ý¿â£¬Îļþ´óСΪ487MB£¬ÓÐͬÊÂ˵½«php.iniµÄÎļþÅäÖÃÖеÄpost_max_size¸ÄΪ±ÈÄãÒªµ¼ÈëµÄÊý¾Ý¿âÎļþ´óһЩµÄ£¬±ÈÈçÏÖÔÚÎÒÒªµÄµ¼ÈëµÄÊý¾Ý¿âÎļþÊÇ487MB£¬ÄÇô¿ÉÒÔ½«´ËÏî¸ü¸ÄΪ£º700MB£¬ÔÙʹÓÃphpMyAdmin¹¤¾ßµÄµ¼È빦ÄÜÀ´ÊµÏÖ£¬µ«ÊÇ£¬ÎÒÊÔÓÃÁË´ËÖÖ·½·¨²»ÄÜ×àЧ£¬È»ºóÓëÓо­ÑéµÄÅóÓѽ»Á÷£¬¸æÖª£¬Ê¹ÓÃmysqlµÄÃüÁîÐÐģʽ£¬Êµ¼ùÈçÏ£¬¹ûÈ»ºÃʹ£¬¾ßÌåµÄÏêϸ²½ÖèÈçÏ£º
1.Ê×ÏȵãµçÄÔ×óϽǵē¿ªÊ¼”-----“ÔËÐДÔÚ¿òÖÐÊäÈë“cmd”½øÈëÃüÁîÐÐģʽ£»
2.´Ëʱ»á³öÏÖÈçϵĽçÃ棺
Microsoft Windows XP [°æ±¾ 5.1.2600]
(C) °æȨËùÓÐ 1985-2001 Microsoft Corp.
C:\Documents and Settings\zxchai>
ÎÒµÄphp°²×°µÄÌ×¼þxampp,Ëü¼¯³ÉÁË (Apache+MySQL+PHP+PERL)
ÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄ½¨Õ¾¼¯³ÉÈí¼þ°ü£¬×ÜÖ®ÊǽøÈëÄãµÄmysql°²×°Ä¿Â¼£¬ÎÒµÄmysql°²×°ÔÚE:\xampp\mysqlÕâ¸öĿ¼Ï£¬È»ºóÔÚÃüÁîÐÐģʽÖÐ(¼´ºÚÆÁÉÏ)ÊäÈëÃüÁ
Microsoft Windows XP [°æ±¾ 5.1.2600]
(C) °æȨËùÓÐ 1985-2001 Microsoft Corp.
C:\Documents and Settings\zxchai>E:
E:\>cd xampp\mysql\bin\
E:\xampp\mysql\bin>mysql -u root –p
ÔٴβåÒ»¾ä£¬ÉÏÐÐÖеÄrootÊÇÎÒµÄmysqlµÄÓû§Ãû£¬ÃüÁîÐлá³öÏÖÒ»¸öÌáʾ£º
Enter password:
È»ºóÔÚÆäºóÊäÈëÄãµÄmysqlÃÜÂ룺
Enter password: ****
È»ºó´ò»Ø³µ£¬»á³öÏÖÒ»¸öÌáʾ£º
Welcome to MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version:5.1.41 Source distribution
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>
´Ëʱ³öÏÖµÄÊÇÌáʾÄúÊý¾Ý¿âÒѾ­¿ÉÒÔÊÔÓã¬È»ºóÔÚmysql>ºóÊäÈëÄúҪʹÓõÄÊý¾Ý¿â£¬±ÈÈçÎÒÔÚÎÒµÄmysqlÓÐÒ»¸ö¿ÕÊý¾Ý¿âÃûΪtestdb,È»ºóÎÒÔÚmysql>µÄºó±ßÊäÈëuse testdb;
¼´£ºmysql> use testdb;
È»ºó´ò»Ø³µ£¬»á³öÏÖ£º
Database changed
mysql>
ºó±ßÊäÈëÄãµÄmysqlÊý¾Ý¿âÎļþËùÔÚ£¬±ÈÈçÄúµÄmysqlÎļþÊÇÔÚD:\test.sql
ÄÇô´ËʱÄú¸ÃÊäÈësource D:\test.sqlÒ²¾ÍÊÇÈçÏ£º
        Database changed
mysql>source D:\test.sql
È»ºó´ò»Ø³µ£¬¾Í»á³öÏֺܶà¸ö:
Query OK, 0 rows affected (0.00 sec)
Query OK,5000 rows affected (1.55 sec)
Ö±µ½×îºó³öÏÖ£º


Ïà¹ØÎĵµ£º

Mysql·ÖÇø


http://dev.mysql.com/doc/refman/5.1/zh/partitioning.html
²é¿´ÊÇ·ñÖ§³Ö·ÖÇø£ºSHOW VARIABLES LIKE '%partition%';
·ÖÇøÓï¾äCREATE TABLE ti (id INT, amount DECIMAL(7,2), tr_date DATE)
ENGINE=INNODB
PARTITION BY HASH(MONTH(tr_date))
PARTITIONS 6; 
---------------------------------- ......

hibernate+mysql Á¬½Ó³¬Ê±½â¾ö°ì·¨Ò»£¬£¨ÍøÉÏÕҵģ©


½â¾öhibernate+mysql³öÏֵĸôÌìÁ¬½Ó³¬Ê±ÎÊÌâ
³öÏÖ´íÎó£ºSQL Error: 0, SQLState: 08S01
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: socket write error
STACKTRACE:
java.net.SocketExcepti ......

MySqlÓëJavaµÄʱ¼äÀàÐÍ

MySqlµÄʱ¼äÀàÐÍÓР         JavaÖÐÓëÖ®¶ÔÓ¦µÄʱ¼äÀàÐÍ
date                                  ......

mysql C±à³Ì£¨Ò»£©mysql´íÎóÂ룬¹ØÓÚmysql_errno

¼ÙÉèÎÒÃÇʹÓÃmysql_real_queryÖ´ÐÐÁËÒ»ÌõsqlÓï¾äÖ®ºó£¬·µ»ØֵΪ·Ç0Öµ£¬´ó¼Ò¶¼ÖªµÀÕâÊÇÕâÌõÓï¾äÖ´Ðгö´í£¬µ«ÊÇÎÒÃÇÏë
Á˽âµØ¸üÏêϸµãµÄ»°£¬¾¿¾¹ÊÇʲôԭÒòµ¼ÖÂÁËÕâ¸ö´íÎóÄØ£¿Õâʱºò¾ÍµÃÓÃÉÏmysqlÌṩµÄÁíÍâÒ»¸öAPI£ºmysql_errno¡£
mysql_errno»áÌṩ×î½üÒ»´Îµ÷ÓõÄC API³ö´íµÄÐÅÏ¢£¨²»¼ûµÃÿ¸öAPI¶¼»á¶ÔÕâ¸öerrno½øÐÐÉèÖ ......

MYSQL Çó¸ßÊÖ°ïÖú

¸÷λ¸ßÊֺá£Ð¡µÜѧϰJAVA²»¾Ã£¬È»ºóÔÙÓÃMYSQLÊý¾Ý¿â¡£
ÓÉÓÚÊÇÓñðÈ˵ĵķ¶Àýѧϰ£¬ËùÒÔ³öÏֺܶàÆæ¹ÖµÄÎÊÌâ
ÎÒÓÃ×Ô¼ºµÄMYSQL ·þÎñÆ÷£¬È»ºó°Ñ±ðÈ˵ÄÊý¾Ý¿âµ¼½øÀ´¡£È»ºó³öÏÖ°æ±¾ÎÊÌâ¡£
ÎÊÌâÈçÏÂ
Table './db_librarysys/tb_manager' was created with a different version of MySQL and cannot be read
2010-4-28 22:44 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ