Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error when importing csv file onto ftp server database

Explorer ,
Sep 18, 2008 Sep 18, 2008
Hi all, i have a csv fiile that has to be imported to a ftp server database. The code works when i am trying out the application on localhost, and the data in the file is successfully uploaded and sent in the database. however, this becomes an issue on when my files are launched on the ftp server.

I get this following error:
SQL ERROR:Access denied for user 'istaff'@'%' (using password: YES)

does anyone know what this means?

I'm attaching my code here, perhaps it might help. Thanks!!

TOPICS
Server side applications
346
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 18, 2008 Sep 18, 2008
taywanqi wrote:
> I get this following error:
> SQL ERROR:Access denied for user 'istaff'@'%' (using password: YES)
>
> does anyone know what this means?

It means access denied...

> <?php require_once('staffSql.php');
> ?>

Check this file, make sure you have the correct username and password
set for your database.

Dooza
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 18, 2008 Sep 18, 2008
LATEST
I;ve checked over and over again. I have another application which uploads an image into the database, and it works fine with the same connection file. Does this error have something to do with the chromd 777 permission on the FTP server? I tried changing the permission of the upload folder, but with little success

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines