Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
shell> mysqldump db1 > dump.sql shell> mysqladmin create db2 shell> mysql db2 < dump.sql mysqldump ã³ãã³ãè¡ã« --databases ã使ç¨ããã¨ããã³ããã¡ã¤ã«ã« USE db1 ãå«ã¾ããããã«ãã£ã¦ mysql ã³ãã³ãè¡ã® db2 ã®æå®ã®å¹æããªã¼ãã¼ã©ã¤ããããããã使ç¨ããªãã§ãã ããã
ITé¢é£ãã¿ãä¸å¿ã¨ããã彷徨ããã¦ã§ãããã°ã©ãã¼ã®æè¡ã¡ã¢
mysqlã®selectã®çµæãcsvã§åºãããå ´åã ããã MySQL CSVãã¡ã¤ã«åºå - éæ³ç©ºé SELECT * FROM table_name INTO OUTFILE "/tmp/sample.csv" FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"';ãããªäºãã£ã¦ããã§ãããçµæãæ°è¡ã¨ãã®æã¯ãremoteä¸ããscpãªããã§file移åããã®ãé¢åã§ããã ã³ãã³ãã©ã¤ã³ä¸ã§ã«ã³ãåºåãã¨ãã« mysql -uuser database -p -e 'SELECT id,a_id FROM test limit 10' -B | sed -e 's/\t/,/g' id,a_id 1,2 3,4 2,16 7,17 5,24 4,25 6,26 8,28 20,29ãããªæãã§ãã³ãã³ãã©ã¤ã³ä¸ã§ã«ã³ãåºåãã§
MySQLã«ã¯ãã°ä¿®æ£ãè¡ãããå ´åããã®ãã°ã確å®ã«ä¿®æ£ããããã¨ã示ãããã®ãã¹ãã±ã¼ã¹ãå ¬éãããã®ãéä¾ã ã£ããããããå æ¥ãªãªã¼ã¹ãããMySQL 5.5.27ã§ã¯ãããã®ãã¹ãã±ã¼ã¹ãå«ã¾ãã¦ããªãã£ããã¨ãæ³¢ç´ãå¼ãã§ããï¼MariaDBï¼ãã¾ããæ¹å®å±¥æ´ã«ã¤ãã¦ãå ¬éãããªããªã£ã¦ããããã ã ãããã®æ å ±ã¯éçºè ãåé¡ã確èªããããã«éè¦ãªãã®ã§ãããããTechCrunchã§ã¯ãOracleã«ããMySQLæ½°ãã®ä¸ç°ã ãã¨ã主張ããã¦ããã
DBæä½ãã¼ã« Emacs DBI ãä½ã£ã¦ã¿ã - æè¡æ¥è¨ï¼ kiwanami ãã®ãã¼ã«ã®ç®çã¯ãã¯ãã¹ãã©ãããã©ã¼ã ã§ä¾¿å©ãªDBæä½ç°å¢ãå®ç¾ãããã¨ã§ãã pgAdmin ã MySQL Query Browser ã®ãããªGUIã®è¯ããCUIã§å®ç¾ãã¦ã¿ããã¨ãã¦ã¿ã¾ãããããªãã¡ãã¼ãã®ããããããããããã®DBãã¼ã«ã§ããã¡ãªã¿ã«ããã®ãã¼ã«ã«ã¨ã£ã¦Emacsã¯ãã ã®å®è¡ç°å¢ã§ããEmacs使ããªã人ã§ã使ãã¨ä¾¿å©ã ã¨æãã¾ãã http://d.hatena.ne.jp/kiwanami/20120305/1330939440 Vimãã¼Vimãã¼ï¼ ã£ã¦äºã§ä½ãã¾ããã mattn/vdbi-vim - GitHub Database client for Vim https://github.com/mattn/vdbi-vim Emacsçã¯epcã¨ããRPCããã
12/11(å)ã®MySQL Casual Talks vol.1ã§çªå¦ç±ã話é¡ã¨ãªã£ãInnoDBã®çºé³ã å¶æ¥é¨éã®ããã(ãã³ãã³å¨ä½è±å½äºº)ãèªåã®é¨éã®ãã¹(ãã¥ã¼ã¨ã¼ã¯å¨ä½ç±³å½äºº)ã«ãèãã¦ã¿ããã©ãå ±éããçãã¯ãè±èªã®çºé³ã ã¨ã¤ãã»ãã£ã¼ã»ãã¼ã£ã½ããã©ãä½ã£ãã¤ãã«èãã®ãè¯ãããããªãï¼ãã¨ã ã¡ããã©MySQL 5.5ã®ãªãªã¼ã¹åã ã£ãã®ã§èãã¥ããã£ããã©ãäºå®éãMySQL 5.5ãGAãªãªã¼ã¹ã¨ãªã£ãã®ã§InnoDBã®å¶ä½è ã®Heikkiã«ç´æ¥èãã¦ã¿ã¾ãããçé¢ç®ãªHeikkiã¯ãã£ã¡ãæãã¦ããã¾ããã Heikkiã«ãã説æã以ä¸ã«ã¾ã¨ãã¦ãã¾ãã InnoDBã®æåã®ååã¯Innobaseã ã£ããMySQLåµæ¥è ã®ä¸äººDavid AxmarkãInnoDBã¨ããååãä»ããã ãã£ã³ã©ã³ãèªã§ã®ä¸è¬çãªçºé³ã¨ãã¦ã¯ IN - no - dee - bee
mysql> status; -------------- mysql Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i386) using readline 4.3 Connection id: 36 Current database: staff2006 Current user: maiha@localhost SSL: Not in use Current pager: lv Using outfile: '' Using delimiter: ; Server version: 4.1.20 Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client char
ãªãã©ã¤ã³ã§å©ç¨ã§ãã MySQL ã®ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ãä½æãã¦ãã¾ãã å½åã¯ï¼chm(compiled html)ãã¡ã¤ã«å½¢å¼ã®ä½æãç®çã«ãã¦ããã®ã§ããï¼5.0.6ã®åé¡ãªã®ãï¼Windowså´ã®åé¡ãªã®ãï¼ææ°ã®ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ã¯chmå¤æããã¨è¡¨ç¤ºãããªããã¼ã¸ãåºæ¥ã¦ãã¾ãã¾ãã å¿ä½ç¡ãã®ã§htmlãã¡ã¤ã«ã®ç¶æ ã§æä¾ãããã¨ã¨ãã¾ããã Versioné å¸å½¢æ 説æ
æå®ããããã¡ã¤ã«ãè¦ã¤ããã¾ããã§ããã All About ããã㸠ãµã¤ãããã㸠ãã¡ã¤ã«ãåé¤ããã¦ãããããããã¯åå¨ããªãã¢ãã¬ã¹ï¼URLï¼ã¸ã®ã¢ã¯ã»ã¹ã§ãã ããä¸åº¦ãã¢ãã¬ã¹ï¼URLï¼ãã確èªããã ããã¢ã¯ã»ã¹ããé¡ããããã¾ãã All Aboutã¸ã®ãåãåããããªã³ã¯åããªã©ã®ãé£çµ¡ã«ã¤ãã¾ãã¦ã¯ã ãææ°ã§ãããAll About ã¸ã®ãåãåããããã©ã¼ã ããå©ç¨ä¸ããã
ååã®è² è·MAXããµã¼ãé¥è½å¯¸åã§ããé¨åã®ã¨ããæçµçã«ã¯èªåã§æé©åããå¿ è¦ãããã®ããç¥ããªãâ¦ã¨æã£ã¦ããã¨ãã«è¦ã¤ãããã¼ã¸ã§ãã MySQLãPHPã§åãå¦çãããéã«ã©ããããµãã«ããã°ãã軽ãã®ããã¨ããåºæ¬çãªå¯¾çã°ãããéãã¦ããã¾ããã©ããããããã¡ãã¡ã§æ¢åºã®ãã®ã°ããã§ããã1ã«æã«ã¾ã¨ã¾ã£ã¦ããã®ã§èªã¿ãããã§ããä¸ã«ã¯ç¥ããªãã®ããã£ããããããããã¾ããã dublish.com - Simple Optimization for PHP and MySQL http://www.dublish.com/articles/10.html MySQLã§æ¸ããã¦ããæ¹ã¯å²ã¨èªãã ãã¨ããããããªã®ãå¤ãã£ãã§ãããPHPã®æ¹ã¯è¨ããã¦ã¿ãã°ãããããã¨ãããããªã®ãå¤ããä¸è¨ãã¼ã¸ã®ã³ã¡ã³ãæ¬ã«ãããããã¨æç¨ãªæè¦ãããã®ã§ãèªã¿é²ããã¨æ¥½ããã ããããã°ä»¥
[2007.6.4追è¨]WindowsXP/Apache2.2.x/PHP5.2.xã¯ã¤ã³ã¹ãã¼ã«ã®æ¹æ³ãPHP5.1.xããããªãå¤ãã£ã¦ãã¾ããOSå+Apache[ãã¼ã¸ã§ã³å]+PHP[ãã¼ã¸ã§ã³å]ã§æ¤ç´¢ããããã¨ããå§ããã¾ããWindows Apache2.2 PHP5.2 - Google æ¤ç´¢ä¾ãã°ããâWindows ç°å¢ã¸ã® Apache 2.2.4 + PHP 5.2.0 å°å ¥(ã¤ã³ã¹ãã¼ã«)è¨é² :: ã½ããã¦ã§ã¢ :: Pocketstudio'z logã¨ãã éå¹!å³è§£ããã°ã©ãã³ã°PHP + MySQLâWindows/Linux PHP5å¯¾å¿ (éå¹!å³è§£ããã°ã©ãã³ã°) ä½è : ãã¼ã·ã¼åºç社/ã¡ã¼ã«ã¼: æ¯æ¥ã³ãã¥ãã±ã¼ã·ã§ã³ãºçºå£²æ¥: 2005/08/01ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 5人 ã¯ãªãã¯: 122åãã®ååãå«ãããã° (20件) ãè¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}