my situation is little more different then this question ....
i have a legacy database (it's not operational only use for reporting
  purpose..)
in this DB transaction table was a auto increment tranx id column.
  like 1, 2, 3 ...... but now our new report need meaningful tranx id
  (yyMMDD<count of that day>) like this question.  so actually i need a
  select query to solve this problem.
with the help of @Khairul 's logic i solve my problem ....
i share my solution for other's help....
  SELECT
trnx_id, account_id, pay_amount,counter_id, trantime, trandate
FROM(
SELECT 
    @id:=IF(@prev != t.trandate, @rownum:=1, @rownum:=@rownum+1)
    ,@prev:=t.trandate 
    ,CONCAT(
        SUBSTR(YEAR(t.`trandate`),3) -- year
        ,IF(LENGTH(MONTH(t.`trandate`))=1,CONCAT('0',MONTH(t.`trandate`)),MONTH(t.`trandate`)) -- month
        ,IF(LENGTH(DAY(t.`trandate`))=1,CONCAT('0',DAY(t.`trandate`)),DAY(t.`trandate`)) -- day 
        ,IF(LENGTH(@id)=1,CONCAT('000',@id),IF(LENGTH(@id)=2,CONCAT('00',@id),IF(LENGTH(@id)=3,CONCAT('0',@id),@id))) -- count 
    ) AS trnx_id 
    ,t.* 
FROM tax_info t ORDER BY t.`trandate`, t.`trantime`
) AS te
and my query result is ..........

After solving my problem i try to solve this question .......
for this i use a trigger for input auto increment custom column ...
my code is below , here my payment column has a custom tranx id ....
DELIMITER $$ 
DROP TRIGGER  tranxidGeneration$$
CREATE 
    TRIGGER tranxidGeneration BEFORE INSERT ON payment 
    FOR EACH ROW BEGIN 
    DECLARE v_tranx_id_on INT; 
    -- count total row of that day
    select IFNULL(COUNT(tranx_id),0)+1 Into v_tranx_id_on from payment where SUBSTR(tranx_id,1,6) = DATE_FORMAT(NOW(), "%y%m%d");
    -- set custom generate id into tranx_id column 
    SET NEW.tranx_id := CONCAT(DATE_FORMAT(NOW(), "%y%m%d"),LPAD(v_tranx_id_on,4,0)) ; 
    END;
$$ 
DELIMITER ;