• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

MySQL "LOAD DATA INFILE" broken since PLESK 11.5.30

muelli75

New Pleskian
Hi!

We are using Debian 6.0.7, Plesk was running wonderful for months. Yesterday we updated to "Plesk 11.5.30 - Update 15", the update installed without errormessages.

If we upload a CSV-file on our internetsite to the webserver through a php-script, the following process fails. The MySQL-Server (5.1.66-0+squeeze1) cant get rights to process the file. We use the command "LOAD DATA INFILE".
Before we installed the last PLESK-update, the command was working well.

Now we get a mysql-permission-error (1085 or 13).

What we tried:
Copied the file after upload insead of move - fail
Setting the rights of the csv-file to 777 - fail
Setting the rights of directory containing the csv-file to 777 - fail
Rewrite the "LOAD DATE INFILE"-Command to use the relative path instead of absolute - fail
Used PhpMyAdmin to do "LOAD DATE INFILE" - fail
Used the commandline of the MySQL-Server to do the command - fail
Copied the CSV manually to /var/lib/mysql/OurSite/ and do "LOAD DATA INFILE" with this - worked

To use "LOAD DATA LOCAL INFILE" is no option, because of securityconcerns.

Do you have any hints to solve this? Thanks in advance!

Martin
 
Hi!

Thanks for this hint, but as written "LOCAL" isnt an option because of securityrisks.

Any other ideas out there?

Martin
 
Back
Top