[請益] phpmyadmin 中使用 outfile
SQL 如下:
SET @logpath = ( SELECT CONCAT( 'tmp/52_setUser_',
replace(replace(replace(NOW(),'-',''),':',''),' ','') ,'.log' ) );
SELECT *
FROM pp
into outfile @logpath
一直出現#1064 - You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'@logpath' at line 3
但事實在是不知道該怎麼解決、不知是否有哪個地方打錯了?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.173.59.58
※ 文章網址: http://www.ptt.cc/bbs/PHP/M.1407140923.A.F5E.html
→
08/04 16:54, , 1F
08/04 16:54, 1F
→
08/04 16:54, , 2F
08/04 16:54, 2F
→
08/04 23:40, , 3F
08/04 23:40, 3F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章