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

MySQL°²×° Apply security settings±¨´í1045½â¾ö·½°¸

½ñÌìΪÁË°²×°MySQl£¬¸ãÁË5¸ö¶àÖÓ£¬ÖÐÎç·¹¶¼Ã»³Ô£¬ÏÈÊÇstart service ²»Í¨¹ý£¬ÔÙÊÇApply security settings ²»Í¨¹ý£¨±¨Á˸ö1045µÄError£©£¬ºóÀ´ÖÕÓÚTMDµÄ¸ãµ½Ëüͨ¹ýÁË£¬½â¾ö°ì·¨ÈçÏ£º
¡¶µÚÒ»Öֳɹ¦£¬µÚ¶þºÍµÚÈýÖÖûÊÔ¡·£¬µÚ¶þºÍµÚÈýÊDZðÈËÌṩµÄ¡£
·½·¨Ò»£º
1, жÔØMySQL
2, ɾ³ýĿ¼ C:\Documents and Settings\Óû§Ãû\Application Data\MySQL
3, ÖØа²×°MySQL ¾Í OK À²
·½·¨¶þ£º
жÔØÖØ×°£¬²»ÉèrootÃÜÂ룬ÒòΪMySqlĬÈÏÃÜÂëΪ¿Õ¡£
·½·¨Èý£º
±£³ÖÏÖÔÚµÄÃÜÂ룬´ò¿ª¡°MySQL Command Line Client¡±ÊäÈëÄãµÄÃÜÂ루°²×°Ê±ÉèµÄÄǸö£¬Èç¹ûÃÜÂë²»¶Ô¿ÉÒÔÊÔÏ¿ÕÃÜÂëµÇ¼£¬ÓпÉÄÜ°²×°Ê±ÃÜÂëÉèÖÃÎÞЧ£©¡£
µ±µÇ¼³É¹¦ºóÊäÈëÃüÁî:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('mysql'); 'mysql'ΪÄãÏëÒªÉèÖõÄÐÂÃÜÂë¡£ÐÞ¸ÄÃÜÂë³É¹¦ºóÔÙÅäÖÃMysql¾ÍOKÁË¡£
¸½£ºMysql¹Ø±Õ³ö´í·äÃùµÄ°ì·¨£¬´ò¿ªMySql°²×°Ä¿Â¼Ï嵀 my.ini Îļþ£¬ÔÚ[mysql]ÐÐÏÂÌí¼ÓÕâ¸öÓï¾ä'no-beep', ±£´æ£¬ÖØÆôMysql·þÎñ¾ÍOKÁË¡£


Ïà¹ØÎĵµ£º

mysql´æ´¢¹ý³Ì£¬Óα꣬ÊÂÎï

drop procedure if exists pro_rep_shadow_rs;
delimiter |
----------------------------------
-- rep_shadow_rs
-- ÓÃÀ´´¦ÀíÐÅÏ¢µÄÔö¼Ó£¬¸üкÍɾ³ý
-- ÿ´ÎÖ»¸üÐÂÉÏ´ÎÒÔÀ´Ã»ÓÐ×ö¹ýµÄÊý¾Ý
-- ¸ù¾Ý²»Í¬µÄ±ê־λ
-- ÐèÒªÒ»¸öÊä³öµÄ²ÎÊý£¬
-- Èç¹û·µ»ØΪ0£¬Ôòµ÷ÓÃʧ°Ü£¬ÊÂÎñ»Ø¹ö
-- Èç ......

MYsql ÒìµØ±¸·Ý½Å±¾

ÔÚÒìµØµÄ·þÎñÆ÷±¸·ÝMysqlʱ£¬ÒìµØµÄ·þÎñÆ÷ûÓа²×°MysqlÊý¾Ý¿â£¬±¸·ÝµÄmysqldumpÃüÁîÊDz»ÄÜÉúЧµÄ¡£ËùÒÔ¿ÉÒÔ°Ñ°²×°mysqlÊý¾Ý¿âËùÔÚ·þÎñÆ÷ÖеÄmysqldump.exe£¨È磺C:\Program Files\MySQL\MySQL Server 5.0\binĿ¼ÖеÄmysqldump.exe£©¿½±´µ½ÒìµØ·þÎñÆ÷ÖеÄÒ»¸öĿ¼ÖУ¨È磺F:\MySQLBackup£©¡£
 
±ÈÈçÎļþà ......

¹ØÓÚMySQLµÄÓû§²Ù×÷

Ò»¡¢²é¿´Óû§
1¡¢ÏÔʾµ±Ç°Ê¹ÓõÄuser¼°host£º
mysql>select USER();
2¡¢ÏÔʾ¸ÃÊý¾Ý¿âÊÚȨµÇ½µÄÓû§Ãû(²»ÏÔʾÖظ´Óû§Ãû)£º
mysql>use mysql;
mysql>select distinct(User) from user;
3¡¢ÏÔʾ¸ÃÊý¾Ý¿âÊÚȨµÇ½µÄÓû§Ãû¼°hostÏÞÖÆ£º
£¨1£©·½·¨Ò»£º
mysql>use mysql;
mysql>select User,host from u ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ