banjo
08-20-2006, 04:30 PM
Can anyone assist with how to export a table to a .CSV file using PHPMyAdmin on the Digitalhost server.
When I select a table, and click on Export, and fill in the appropriate parameters, it shows a field in which I need to enter a file template. What value goes in there? Is it a pre-defined template or do I just enter the filename of where I want it to be stored? Also, where does the exported file get stored and how can I access it?
Incidentally, when I try to Export using a "SELECT .. INTO OUTFILE ..." statement directly from my script, it indicates an "error 1045 - Access denied for user". If I use the "SELECT" statement without "INTO OUTFILE" to display the same table to my screen there is no problem. I suspect this means it is trying to Export the file to an area for which my database login does not have permission.
Any ideas?
When I select a table, and click on Export, and fill in the appropriate parameters, it shows a field in which I need to enter a file template. What value goes in there? Is it a pre-defined template or do I just enter the filename of where I want it to be stored? Also, where does the exported file get stored and how can I access it?
Incidentally, when I try to Export using a "SELECT .. INTO OUTFILE ..." statement directly from my script, it indicates an "error 1045 - Access denied for user". If I use the "SELECT" statement without "INTO OUTFILE" to display the same table to my screen there is no problem. I suspect this means it is trying to Export the file to an area for which my database login does not have permission.
Any ideas?