Best practice: Import mySQL file in PHP; split queries

后端 未结 13 614
Happy的楠姐
Happy的楠姐 2020-11-29 00:08

I have a situation where I have to update a web site on a shared hosting provider. The site has a CMS. Uploading the CMS\'s files is pretty straightforward using FTP.

<
相关标签:
13条回答
  • 2020-11-29 00:48

    Can you use LOAD DATA INFILE?

    If you format your db dump file using SELECT INTO OUTFILE, this should be exactly what you need. No reason to have PHP parse anything.

    0 讨论(0)
提交回复
热议问题