How do I export particular column in MySQL using phpmyadmin?

前端 未结 5 1693
有刺的猬
有刺的猬 2020-12-29 21:13

I do have thousands of website list and other info in MySQL database.

I want only website column named \"web\" to be exported to excel or text or csv.

I know

5条回答
  •  北海茫月
    2020-12-29 22:10

    You can execute this query directly using phpmysql :

    SELECT web FROM your_table INTO OUTFILE '/tmp/web.sql'
    

    After that, you can login to the database server OR use php to access the OUTFILE

    details - mysql select

提交回复
热议问题