ããªãç¹æ®ãªäºä¾ã ã¨æãã¾ããã æãã¨ã®ãã°ãã¼ã¿ã¯è¨å¤§ãªã®ã§æ¬çªç°å¢ã«ã¯éå»æ°ã¶æããæ®ããªã åé¤ãããã¼ã¿ã¯å¿µã®ããmysqldumpãã¦ãã æãã¨ã®ãã¼ã¿ã®ãµããªãã¼ãã«ã欲ãããªã£ãã®ã§ä½ã£ã éå»ã®ãã¼ã¿ã®ãµããªããµããªãã¼ãã«ã«çªã£è¾¼ã¿ãã ã¨ãããããªã¨ãã®è©±ã ãµããªãã¼ãã«ãä½ãä½ããã¦ããªãå ´å ã¯ãããåç´ã§ãå¥ã®ç°å¢ã«dumpãããã¡ã¤ã«ãçªã£è¾¼ãã§ããã§ãµããªãã¼ãã«ãä½ã£ããã¨ã mysqldump -uroot -p database summary_table > summary_table.sql ãã¦ãæ¬çªç°å¢ã§ cat summary_table.sql | mysql -uroot -p database ã¨ãããã°è¯ãããã§ããã æ¢ã«ãµããªãã¼ãã«ãä½ããã¦ããå ´å ã¯ãä¸ã®ããæ¹ã ã¨ããã¼ãã«ãdrop&createããã¦ãã¾ãã®ã§ãå°ã
{{#tags}}- {{label}}
{{/tags}}