ÓÃMysql GUI tool Á´½Ó Mysql ´íÎó 2003 µÄ½â¾ö°ì·¨
½ñÌìÔÚUbuntuÏ°²×°ÁËmysql server£¬ È»ºóÊÔͼÔÚwinxpÏÂÃæÓÃMysql GUI toolÁ´½Ó£¬½á¹û×ÜÊÇʧ°Ü£¬ÏÔʾ´íÎóºÅΪ2003.
ÏÂÃæÊÇ̽Ë÷¹ý³Ì£º
1.Ê×ÏÈ»³ÒÉÊÇUbuntuÏÂÃæÓзÀ»ðǽ£¬ ÔÚwinxpÏÂÃæping¿ÉÒÔpingͨ£¬ UbuntuÏÂÃæÖ´ÐÐ "ufw status" ÏÔʾҲÊÇinactiveµÄ£»
˵Ã÷ºÍ·À»ðǽûÓйØϵ¡£
2. »³ÒÉmysql ûÓÐÆðÀ´£¬ ÔÚUbuntuÏÂÃæÖ´ÐÐ"ps -ef | grep mysql"ÏÔʾ mysql Õý³££»
3. û°ì·¨ÁË£¬¿ªÊ¼´ÓÍøÉÏËÑË÷£¬ ÕÒµ½Á˽â¾ö°ì·¨£º
1)mysql -uroot -p, ÊäÈëÃÜÂëºó½øÈëmysqlÌáʾ·û£º
mysql> use mysql
mysql> select host, user from user;
+---------------+------------------+
| host | user |
+---------------+------------------+
| 127.0.0.1 | root |
| localhost | debian-sys-maint |
| localhost | root |
+---------------+------------------+
´ÓÏÔʾ½á¹û¿´³öÖ»ÔÊÐí±¾µØÓû§µÇ¼£¬ ËùÒÔÐèÒª¼ÓÈëÔÊÐíµÄIPµØÖ·Óû§£»
mysql> GRANT ALL on *.* to root@192.168.0.105 IDENTIFIED BY 'password';
mysql> flush privileges;
mysql> select host, user from user;
+---------------+------------------+
| host | user |
+---------------+------------------+
| 127.0.0.1 | root |
| 192.168.0.105 | root |
| localhost | debian-sys-maint |
| localhost | root |
+---------------+------------------+
±¾ÒÔΪÏÖÔÚ´ÓIPµØַΪ192.168.0.105µÄÓû§¿ÉÒÔÓÃrootºÍÃÜÂëpasswordÁ´½Óµ½mysqlÁË£¬¿ÉÊÇÁ´½Ó»¹ÊdzöÏÖ2003µÄ´íÎóºÅ£»
ÓÚÊǼÌÐøËÑË÷£»
2) suµ½rootÕʺţ¬È»ºó£º
$ vi /etc/mysql/my.cnf
ÕÒµ½ bind-address = 127.0.0.1
¸ÄΪ bind-address = 192.168.0.102
¸ÄÍê±£´æºó£¬ Ö´ÐÐ service mysql restart ÖØÆômysql£¬ ÔÙ´ÎÁ´½Ó¸ã¶¨¡£
ÕâÀï½âÊÍÒ»ÏÂbind-address£¬ Õâ¸öµØÖ·mysql¼àÌýµÄipµØÖ·£¬ ĬÈÏÊÇ127.0.0.1£¬Ò²¾ÍÊÇmysqlÖ»Ôڻػ·µØÖ·ÉÏ£¨Ò²¾ÍÊÇloÉÏ£©¼àÌý£¬ËùÒÔÍâÃæµÄipµØÖ·Á´½Ó²»½øÀ´£¬ Ð޸ĺóµÄipµØÖ·192.168.0.102ÊÇmysql serverÖ÷»úÉϵĶÔÍâipµØÖ·£¬Ò²
Ïà¹ØÎĵµ£º
תÔØ:¹ØÓÚMYSQLÓï¾ä´æÔÚ×¢È멶´µÄд·¨
±¾ÎÄ×÷Õߣºangel
ÎÄÕÂÐÔÖÊ£ºÔ´´
·¢²¼ÈÕÆÚ£º2004-09-16
±¾ÎÄÒѾ·¢±íÔÚ¡¶ºÚ¿Í·ÀÏß¡·7Ô¿¯£¬×ªÔØÇë×¢Ã÷¡£ÓÉÓÚдÁ˺ܾã¬Ëæ׿¼ÊõµÄ½ø²½£¬±¾ÈËÒ²·¢ÏÖ¸ÃÎÄÀïÓв»ÉÙ´íÎóºÍÂÞàµĵط½¡£Çë¸÷λ¸ßÊÖ¿´Á˲»ÒªÐ¦¡£±¾ÎÄдÓÚ¡¶Advanced SQL Injection with MySQL¡·Ö®Ç°Ò»¸ ......
1. MySQLÊÇÒ»¸öСÐ͹ØϵÐÍÊý¾Ý¿â¹ÜÀíϵͳ
2. MySQLµÄÊý¾ÝÀàÐÍ£º
ÕûÊýÐÍ£ºTINYINT£¬SMALLINT£¬INT£¬BIGINT
СÊýÐÍ£ºFLOAT£¬DOUBLE£¬DECIMAL(M,D)
×Ö·ûÐÍ£ºCHAR£¬VARCHAR
ÈÕÆÚÐÍ£ºDATETIME £¬DATE£¬TIMESTAMP
±¸×¢ÐÍ£ºTINYTEXT £¬TEXT £¬LONGTEXT
£¨°´php100µÄ½Ì³ÌÀï·ÖµÄ£©
3.MySQLµÄ»ù±¾Óï¾ä
´´½¨Êý¾Ý¿â C ......
SQL Injection with MySQL
±¾ÎÄ×÷Õߣºangel
ÎÄÕÂÐÔÖÊ£ºÔ´´
·¢²¼ÈÕÆÚ£º2004-09-16
±¾ÎÄÒѾ·¢±íÔÚ¡¶ºÚ¿Í·ÀÏß¡·7Ô¿¯£¬×ªÔØÇë×¢Ã÷¡£ÓÉÓÚдÁ˺ܾã¬Ëæ׿¼ÊõµÄ½ø²½£¬±¾ÈËÒ²·¢ÏÖ¸ÃÎÄÀïÓв»ÉÙ´íÎóºÍÂÞàµĵط½¡£Çë¸÷λ¸ßÊÖ¿´Á˲»ÒªÐ¦¡£±¾ÎÄдÓÚ¡¶Advanced SQL Injection with MySQL¡·Ö®Ç°Ò»¸öÔ¡£
ÉùÃ÷
¡¡¡¡±¾ÎĽöÓÃÓÚ½ ......
mysqlµÄ´æ´¢ÒýÇæÓм¸ÖÖ£¬µ«ÊÇ´Ó5.0¿ªÊ±´ó²¿·ÖÊÇĬÈϲÉÓà innodb´æ´¢ÒýÇæ¡£innodb´æ´¢ÒýÇæÖ§³Ö ÊÂÎñ£¬Íâ¼ü£¬ÐÐÊý¾ÝËø¶¨£¨µ±È»ÊÇÏà¶ÔmyisamµÄ±íËø¶¨£©¡£magento°²×°µÄʱºòÓмì²é mysqlÊÇ·ñÖ§³Öinnodb´æ´¢ÒýÇ棬Èç¹û²»Ö§³ÖÔò²»ÄܼÌÐø°²×°¶øÌáʾÈçÏ´íÎ󣬾¡¹Üinnodb´æ´¢²¢Ã»Óб»ÁÐΪ°²×°magentoµÄÇ°ÌáÌõ¼þÖ®Ò»¡£
Database&nbs ......
ÔÎÄ£ºhttp://blog.csdn.net/gnuhpc/archive/2010/01/01/5118123.aspx
½ö½öÊÇ¿´Ò»Ð©ÊéÊÇÁãÁãɢɢ¼Çϵģ¬¸ø×Ô¼º±¸Íü¶øÒÑ¡£½¨ÒéÈ¥¿´×¨ÒµÍøÕ¾µÄ±Ê¼Ç¡£
1.Ö÷¼üµÄÖµ±ØÐëÊÇΨһµÄ£¬²¢ÇÒ²»ÄÜΪ¿Õ£¬Õâ¿ÉÒÔÌá¸ßMySQL´Ó¶à¸ö±íÖÐÈ¡µÃÊý¾Ý»òÕßÈ¡µÃÖ¸¶¨¼üÖµ¶ÔÓ¦µÄÐеÄËٶȡ£MySQLͨ¹ýÒ»¸öÌØÊâµÄ³ÆΪIndexË÷ÒýµÄÊý¾Ý½á¹¹×öµ½ÕâÒ»µã£¬In ......