mysql³£¼û´íÎóÌáʾ¼°½â¾ö·½·¨
130 £ºÎļþ¸ñʽ²»ÕýÈ·¡££¨»¹²»ÊǺÜÇå³þ´íÎóµÄ×´¿ö£©
145 £ºÎļþÎÞ·¨´ò¿ª¡£
1005£º´´½¨±íʧ°Ü¡£
1006£º´´½¨Êý¾Ý¿âʧ°Ü¡£
1007£ºÊý¾Ý¿âÒÑ´æÔÚ£¬´´½¨Êý¾Ý¿âʧ°Ü¡£
1008£ºÊý¾Ý¿â²»´æÔÚ£¬É¾³ýÊý¾Ý¿âʧ°Ü¡£
1009£º²»ÄÜɾ³ýÊý¾Ý¿âÎļþµ¼ÖÂɾ³ýÊý¾Ý¿âʧ°Ü¡£
1010£º²»ÄÜɾ³ýÊý¾ÝĿ¼µ¼ÖÂɾ³ýÊý¾Ý¿âʧ°Ü¡£
1011£ºÉ¾³ýÊý¾Ý¿âÎļþʧ°Ü¡£
1012£º²»ÄܶÁȡϵͳ±íÖеļǼ¡£
1016£ºÎļþÎÞ·¨´ò¿ª£¬Ê¹Óúǫ́ÐÞ¸´»òÕßʹÓà phpmyadmin ½øÐÐÐÞ¸´¡£
Quote:
¿ªÊ¼=>ËùÓгÌÐò=>¸½¼þ=>ÃüÁîÌáʾ·û
ÊäÈë mysql ËùÔÚÓ²ÅÌÅÌ·û
cd mysql ËùÔÚĿ¼
cd bin
ÊäÈë myisamchk -f D:usr/local/mysql/data/bbs/PW_members.MYI
ps : D:usr/local/mysql/data/bbs ÊÇÄãÂÛ̳Êý¾Ý¿âµÄ·¾¶
-f ¸ù¾Ý¾ßÌåÇé¿öÑ¡Ôñ£¬Ò»°ãÒ²¿ÉÒÔÑ¡Ôñ -r
×¢ÒâÄãµÄ ϵͳCÅÌ»ò·ÅÊý¾Ý¿âµÄÓ²ÅÌ¿Õ¼äÊÇ·ñ×ã¹»£¬Ò»°ãСÓÚ 1G ºÜÈÝÒ׳öÏÖ´íÎó¡£
»òÓÃmysqlcheckÃüÁî½øÐÐÐÞ¸´¡£¾ßÌåµÄ·½·¨£ºÀûÓÃÃüÁîÐнøÈëmysql/binĿ¼£¬Ö´ÐÐ
mysqlcheck -o -r phpwind -uroot -p
ÆäÖÐphpwindÊÇÄãÊý¾Ý¿âµÄÃû³Æ£¬rootÊÇÄãµÄÊý¾Ý¿âÓû§Ãû£¬È»ºó»áÌáʾÄãÊäÈëÃÜÂ롣Ȼºó¾Í»áÐÞ¸´ÄãµÄÊý¾Ý¿â¡£
1017£º·þÎñÆ÷·Ç·¨¹Ø»ú£¬µ¼Ö¸ÃÎļþË𻵡£
1020£º¼Ç¼Òѱ»ÆäËûÓû§Ð޸ġ£
1021£ºÓ²ÅÌÊ£Óà¿Õ¼ä²»×㣬Çë¼Ó´óÓ²ÅÌ¿ÉÓÿռ䡣
1022£º¹Ø¼ü×ÖÖظ´£¬¸ü¸Ä¼Ç¼ʧ°Ü¡£
1023£º¹Ø±Õʱ·¢Éú´íÎó¡£
1024£º¶ÁÎļþ´íÎó¡£
1025£º¸ü¸ÄÃû×Öʱ·¢Éú´íÎó¡£
1026£ºÐ´Îļþ´íÎó¡£
1030£º¿ÉÄÜÊÇ·þÎñÆ÷²»Îȶ¨¡££¨¾ßÌåÔÒò²»ÊǺÜÇå³þ£©
1032£º¼Ç¼²»´æÔÚ¡£
1036£ºÊý¾Ý±íÊÇÖ»¶ÁµÄ£¬²»ÄܶÔËü½øÐÐÐ޸ġ£
1037£ºÏµÍ³ÄÚ´æ²»×㣬ÇëÖØÆôÊý¾Ý¿â»òÖØÆô·þÎñÆ÷¡£
1038£ºÓÃÓÚÅÅÐòµÄÄÚ´æ²»×㣬ÇëÔö´óÅÅÐò»º³åÇø¡£
1040£ºÒѵ½´ïÊý¾Ý¿âµÄ×î´óÁ¬½ÓÊý£¬Çë¼Ó´óÊý¾Ý¿â¿ÉÓÃÁ¬½ÓÊý¡£
Quote:
ÔÚmy.ini ÐÞ¸Ämax_connections=100Ϊmax_connections=1000»ò¸ü´ó,ÖØÆômysql
1041£ºÏµÍ³ÄÚ´æ²»×ã¡£
1042£ºÎÞЧµÄÖ÷»úÃû¡£
1043£ºÎÞЧÁ¬½Ó¡£
1044£ºÊý¾Ý¿âÓû§È¨ÏÞ²»×㣬ÇëÁªÏµ¿Õ¼äÉ̽â¾ö¡£
1045£ºÊý¾Ý¿â·þÎ
Ïà¹ØÎĵµ£º
MySQL ÂÒÂëµÄ¸ùÔ´ÊÇµÄ MySQL ×Ö·û¼¯ÉèÖò»µ±µÄÎÊÌ⣬±¾ÎÄ»ã×ÜÁËÓйز鿴 MySQL ×Ö·û¼¯µÄÃüÁî¡£°üÀ¨²é¿´ MySQL Êý¾Ý¿â·þÎñÆ÷×Ö·û¼¯¡¢²é¿´ MySQL Êý¾Ý¿â×Ö·û¼¯£¬ÒÔ¼°Êý¾Ý±íºÍ×ֶεÄ×Ö·û¼¯¡¢µ±Ç°°²×°µÄ MySQL ËùÖ§³ÖµÄ×Ö·û¼¯µÈ¡£
Ò»¡¢²é¿´ MySQL Êý¾Ý¿â·þÎñÆ÷ºÍÊý¾Ý¿â×Ö·û¼¯¡£
mysql> show variables like '%char%';
+-- ......
¡ñjspÁ¬½ÓMySQLÊý¾Ý¿â
testmysql.jspÈçÏ£º
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import="java.sql.*"%>
<html>
<body>
<%Class.forName("org.gjt.mm.mysql.Driver").newInstance();
String url ="jdbc:mysql://localhost/softforum?
user=soft&pas ......
±¾ÎÄתÔØ×Ô£ºhttp://www.54xue.com/?action-viewnews-itemid-7498
#BEGIN CONFIG INFO
#DESCR: 4GB RAM, ֻʹÓÃInnoDB, ACID, ÉÙÁ¿µÄÁ¬½Ó, ¶ÓÁиºÔØ´ó
#TYPE: SYSTEM
#END CONFIG INFO
#
# ´ËmysqlÅäÖÃÎļþÀý×ÓÕë¶Ô4GÄÚ´æ
# Ö÷ҪʹÓÃINNODB
#´¦Àí¸´ÔÓ¶ÓÁв¢ÇÒÁ¬½ÓÊýÁ¿½ÏÉÙµÄmysql·þÎñÆ÷
#
# ½«´ËÎļþ¸´ÖƵ½/etc/m ......
MYSQLÃüÁî´óÈ«
Ò»¡¢Á¬½ÓMYSQL¡£
¸ñʽ£º mysql -hÖ÷»úµØÖ· -uÓû§Ãû £pÓû§ÃÜÂë
1¡¢Á¬½Óµ½±¾»úÉϵÄMYSQL¡£Ê×ÏÈ´ò¿ªDOS´°¿Ú£¬È»ºó½øÈëĿ¼mysql\bin£¬ÔÙ¼üÈëÃüÁîmysql -u root -p£¬»Ø³µºóÌáʾÄãÊäÃÜÂë.×¢ÒâÓû§ÃûÇ°¿ÉÒÔÓпոñÒ²¿ÉÒÔûÓпոñ£¬µ«ÊÇÃÜÂëÇ°±ØÐëûÓпոñ£¬·ñÔòÈÃÄãÖØÐÂÊäÈëÃÜÂë. Èç¹û¸Õ°²×°ºÃMYSQL£¬³¬¼¶Óû ......
update article set body = (REPLACE(body, '</div>', ' ')) where typeid=21
ÓÃupdateºÍreplaceÔÚmysqlÖÐÌ滻ijһ¸ö×ֶεIJ¿·ÖÄÚÈÝ
update users_settings set `ConfigValue` = replace(configvalue,' fromstr' 'tostr') where `ConfigName`='accesslist'
¶ÔÓÚÕë¶Ô×Ö·û´®Î»ÖõIJÙ×÷£¬µÚÒ»¸öλÖñ»±ê¼Ç ......