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

linux mysqlµÄ°²×°¼°Ò»Ð©ÅäÖ÷½·¨

1.¼ì²éÒÔÇ°°²×°µÄMySQL,жÔØ¡£
rpm -qa|grep -i mysql
rpm -e XXXXX
×¢Èç¹û³öÏÖÁ½ÌõÏàͬµÄ£¬ÔòʹÓÃrpm -e --allmatches
2.°²×°rpm°ü¡£
rpm -ivh MySQL-server-community-5.1.37-0.rhel5.x86_64.rpm
rpm -ivh MySQL-shared-community-5.1.37-0.rhel5.x86_64.rpm
rpm -ivh MySQL-devel-community-5.1.37-0.rhel5.x86_64.rpm
rpm -ivh MySQL-client-community-5.1.37-0.rhel5.x86_64.rpm
3.cp ²ÎÊýÎļþµ½ /etc/my.cnf
find / -name "my*.cnf"
Ìí¼Ó²ÎÊý
transaction-isolation=READ-COMMITTED
default-storage-engine=INNODB
innodb_flush_log_at_trx_commit=2
4.¸üÐÂȨÏÞ¼°Óû§
mysql -u root -p
use mysql;
select user,host from user;
delete from user where user <> 'root';
delete from user where host <> 'localhost';
update user set host ='%' where user ='root';
select user,host from user;
¸üÐÂuser±íµ½ÈçÏÂ״̬
mysql> select user,host from user;
+------+------+
| user | host |
+------+------+
| root | %    |
+------+------+
1 row in set (0.00 sec)
´´½¨Óû§
grant select,insert,update,delete,create,drop,alter,index,RELOAD, lock tables, execute, create routine, alter routine,Create temporary tables 
on *.* to mysql@"%" identified by "123456";
set global transaction isolation level read committed;
set session transaction isolation level read committed;
¸üÐÂȨÏÞ
flush privileges;
5.ÉèÖÃÃÜÂë(123456)
mysqladmin -u root -p password ×××
####mysqladmin -u root -p password mypasswd
6.ÖØÆô·þÎñ£¬ÑéÖ¤ÉèÖá£
/etc/init.d/mysql restart
怫mysql
жÔØÇý¶¯
rpm -e --justdb mysql-connector-odbc-5.1.5-0
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1234 K
bytes of memory
MySQL Íü¼Ç¿ÚÁîµÄ½â¾ö°ì·¨
Èç¹û MySQL ÕýÔÚÔËÐУ¬Ê×ÏÈɱ֮£º killall -TERM mysqld¡£
Æô¶¯ MySQL £ºbin/safe_mysqld --skip-grant-tables &
¾Í¿ÉÒÔ²»ÐèÒªÃÜÂë¾Í½øÈë MySQL ÁË¡£
È»ºó¾ÍÊÇ
use mysql;
update user set password=password("new_pass") where user="root";
update user set password=password(


Ïà¹ØÎĵµ£º

LinuxÂÌ°Ó

DansGuardian
, written by SmoothWall Ltd and others, is content-control software: software designed to control which websites users can access. It also includes virus filtering and usage monitoring features. DansGuardian must be installed on a Unix or Linux computer, such as a server computer; its ......

linux ϵͳµ÷ÓÃÁбí /usr/include/asm/unistd.h


Ò»¡¢½ø³Ì¿ØÖÆ£º
fork
´´½¨Ò»¸öнø³Ì
clone
°´Ö¸¶¨Ìõ¼þ´´½¨×Ó½ø³Ì
execve
ÔËÐпÉÖ´ÐÐÎļþ
exit
ÖÐÖ¹½ø³Ì
_exit
Á¢¼´ÖÐÖ¹µ±Ç°½ø³Ì
getdtablesize
½ø³ÌËùÄÜ´ò¿ªµÄ×î´óÎļþÊý
getpgid
»ñÈ¡Ö¸¶¨½ø³Ì×é±êʶºÅ
setpgid
ÉèÖÃÖ¸¶¨½ø³Ì×é±êÖ¾ºÅ
getpgrp
»ñÈ¡µ±Ç°½ø³Ì×é±êʶºÅ
setpgrp
ÉèÖõ±Ç°½ø³Ì×é±êÖ¾ºÅ
g ......

Linux¼¯Èº

Linux¼¯Èº´óÈ«
2009-12-29 20:54
¼ÆËã Linux Öм¯ÈºÏîÄ¿µÄÊýÁ¿¾ÍÏó¼ÆËã¹è¹ÈÖд´Òµ¹«Ë¾µÄÊýÁ¿Ò»Ñù¡£²»Ïó Windows NT ÒѾ­ÊÜÆä×ÔÉíµÄ·â±Õ»·¾³×è°­£¬Linux ÓдóÁ¿µÄ¼¯ÈºÏµÍ³¿É¹©Ñ¡Ôñ£¬ÊʺÏÓÚ²»Í¬µÄÓÃ;ºÍÐèÒª¡£µ«È·¶¨Ó¦¸ÃʹÓÃÄÄÒ»¸ö¼¯ÈºµÄ¹¤×÷ȴûÓÐÒò´Ë±äµÃ¼òµ¥¡£
ÎÊÌâµÄ²¿·ÖÔ­ÒòÔÚÓÚÊõÓOȺÓÃÓÚ²»Í¬³¡ºÏ¡£IT ¾­Àí¿ÉÄܹØÐ ......

MySQL Êý¾Ý¿âÓï¾äÓÅ»¯µÄÔ­Ôò

1¡¢Ê¹ÓÃË÷ÒýÀ´¸ü¿ìµØ±éÀú±í¡£
ȱʡÇé¿öϽ¨Á¢µÄË÷ÒýÊÇ·ÇȺ¼¯Ë÷Òý£¬µ«ÓÐʱËü²¢²»ÊÇ×î¼ÑµÄ¡£ÔÚ·ÇȺ¼¯Ë÷ÒýÏ£¬Êý¾ÝÔÚÎïÀíÉÏËæ»ú´æ·ÅÔÚÊý¾ÝÒ³ÉÏ¡£ºÏÀíµÄË÷ÒýÉè¼ÆÒª½¨Á¢ÔÚ¶Ô¸÷ÖÖ²éѯµÄ·ÖÎöºÍÔ¤²âÉÏ¡£Ò»°ãÀ´Ëµ£º
a.ÓдóÁ¿Öظ´Öµ¡¢ÇÒ¾­³£Óз¶Î§²éѯ( > ,< £¬> =,< =)ºÍorder by¡¢group by·¢ÉúµÄÁУ¬¿É¿¼Âǽ¨Á¢Èº¼¯Ë÷ ......

ËÄ´¨¸ßУЭͬͨÐŲ¦ºÅÆ÷linuxÎÞ·¨ÉÏÍø½â¾ö·½·¨Á½Ôò~

     Èç¹ûÄãÊÇËÄ´¨Ñ§Éú£¬Èç¹ûÄãÊDz¦ºÅÉÏÍø£¬Èç¹ûÄãÏëѧlinux¡£ÄÇôЭͬͨÐŲ¦ºÅÆ÷Ò»¶¨ÈÃÄãÍ´²»ÓûÉú~~~
 µÚÒ»ÖÖ·½·¨£º×ÔÁ¦¸üÉú£¬ÐéÄâ»ú´úÀí·¨
     Õâ·½·¨¾ø¶Ô¿ÉÒÔÈÃÄãÔÚlinuxÏÂÉϵÃÁËÍø£¬µ«·½·¨ºÃ»µ£¬ÒÔ¼°ÊÇ·ñ²ÉÓÃÄú×Ô¼ºµàÁ¿~
      Ϊ´ËÄãÐèÒªÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ