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

LinuxϵͳÏÂÐÞ¸ÄMySQLµÄrootÃÜÂë

µÚÒ»ÖÖ·½·¨£º
rootÓû§µÇ¼ϵͳ
usr/local/mysql/bin/mysqladmin -u root -p password ÐÂÃÜÂë
enter password ¾ÉÃÜÂë
µÚ¶þÖÖ·½·¨£º
rootÓû§µÇ¼mysqlÊý¾Ý¿â
mysql> update mysql.user set password=password("ÐÂÃÜÂë")where User="root";
mysql> flush privileges;
mysql> quit ;
mysqlÍü¼ÇrootÃÜÂëÈçºÎ´¦Àí?
Èç¹û MySQL ÕýÔÚÔËÐУ¬Ê×ÏȽáÊømysql½ø³Ì£º killall mysqld
Æô¶¯ MySQL (·ÇÕý³£·½Ê½Æð¶¯)£º/usr/local/mysql/bin/mysqld_safe –skip-grant-tables &
ÕâÑù¾Í¿ÉÒÔ²»ÐèÒªÃÜÂë½øÈë MySQL £º/usr/local/mysql/bin/mysql -u root -p¡¡£¨ÒªÇóÊäÈëÃÜÂëʱֱ½Ó»Ø³µ¼´¿É£©
mysql> update user mysql.set password=password("ÐÂÃÜÂë") where user="root";
mysql> flush privileges;
mysql> quit;
ÖØнáÊø½ø³Ì£ºkillall mysqld
ÓÃÕý³£·½Ê½Æô¶¯ MySQL £º/usr/local/mysql/bin/mysqld_safe -user=mysql &
×¢:
updateÓï¾äÀïµÄpassword=password("ÐÂÃÜÂë")Ö»ÓÐÐÂÃÜÂëÈý¸ö×ÖÔÚ²Ù×÷ʱÌæ»»³ÉÎÒÃÇÒªÉèÖõÄÃÜÂ룬ÆäËüÔ­ÑùÕÕд£¬Ö®Ç°ÎÒ×öʧ°Ü
µÄÔ­Òò¾ÍÔÚÓÚ°ÑÀ¨ºÅ¼°Ç°ÃæµÄpassword¸øÂÔµôÔì³ÉµÄ£®ËüÃǵÄ×÷ÓÃÊÇʹÃÜÂëÒÔ¼ÓÃܵÄÐÎʽ´æ´¢ÔÚÊý¾Ý¿âÀï¡£


Ïà¹ØÎĵµ£º

LinuxÇý¶¯µÄһЩ»ù±¾²Ù×÷

LinuxÇý¶¯µÄһЩ»ù±¾²Ù×÷

LinuxÄÚºËÖж¨ÒåÁ˺ܶàºê£¬¶ÔÓ²¼þ¶Ë¿ÚºÍ¼Ä´æÆ÷½øÐвÙ×÷£¬´ÓÍøÉÏËѼ¯ÁËһЩºê¶¨ÒåµÄÐÅÏ¢£º
1. __REG¼òµ¥µÄ˵¾ÍÊÇ»ñµÃºóÃæËùʾÎïÀíµØÖ·Ó³ÉäºóµÄÐéÄâµØÖ·£¬ÀýÈ磺
#define GPLR0  __REG(0x40E00000)    /* GPIO Pin-Level Register GPIO<31:0> */
#define GPL ......

linuxÊÔÌâ

ÎÒΪʲô·¢±í²»ÁËÎÄÕÂÄØ£¿
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ ·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ /etc/fstab ÖжÁÈ¡Òª¼ÓÔصÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà i½Úµã À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ºÍÊý¾Ý´æ´¢¿é¡£
5. Á´½Ó·ÖΪ£º Ó²Á´½Ó ºÍ ·ûºÅÁ´½Ó ¡£
6. ³¬ ......

ÓÃLinuxϵÄLVSÈí¼þʵÏÖLinux¼¯Èº







ÓÃLinuxϵÄLVSÈí¼þʵÏÖLinux¼¯Èº















µÂÓ¢


  

·¢±íÓÚ2010Äê03ÔÂ15ÈÕ 18:22
ÔĶÁ( ......

linuxϵͳʱ¼ä

  ·¢ÏÖ·þÎñÆ÷ϵͳʱ¼äºÍ±ê׼ʱ¼ä²îÁË10¶à·ÖÖÓ,È»ºóÁãµãµÄʱ¼äµ÷ÕûÁËÏÂʱ¼ä¡£¹ýÁ˲¶àÒ»¸öÀñ°Ý·¢Õ¹Êý¾Ý¿âÖмǼµÄʱ¼ä»¹ÊDz»¶Ô£¬ÈçÊÇÓüӰàµ÷ÕûÁËÏÂʱ¼ä¡£¹ýÁË2ÌìÒ»¿´»¹ÊÇʱ¼ä²»¶Ô£¬Ò»²é²Å·¢ÏÖ£º 
   »úÆ÷ÀïÓÐÁ½¸öʱÖÓ¡£Ó²¼þʱÖÓ´Ó¸ù±¾ÉϽ²ÊÇCMOSʱÖÓ£»¶øϵͳʱÖÓÊÇÓÉÄÚºËά»¤µÄ£¬ËüÊÇ´Ó1969ÄêÄ©£¨¼ ......

Linux GCC makeÎļþµÄд·¨4 ÇåÎú°æ

°üº¬3¸öÎļþ¼Ð£¬ºÍÒ»¸öÎļþMakefile
Ŀ¼×éÖ¯½á¹¹ÈçÏ£º
Makefile
inc/hello.h
main/main.c
src/hello.c
MakefileÎļþÔÚÍâÃ棬ÕâÑùÉú³ÉµÄ.oºÍ¿ÉÖ´ÐÐÎļþ¶¼ÔÚÍâÃ棬cleanÖ®ºó»áºÜ¸É¾»£¬½á¹¹ÇåÎú
ÎļþÄÚÈÝÈçÏ£º
Makefile(Ö®ËùÒÔÓôóд£¬ÒòΪmake¿ÉÒÔʶ±ðMakefileºÍmakefile£¬Óôóд¿ÉÒÔÏÊÃ÷һЩ)::
# String declar ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ