Skip to main content
Inspiring
September 18, 2008
Question

Error when importing csv file onto ftp server database

  • September 18, 2008
  • 1 reply
  • 345 views
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!!

This topic has been closed for replies.

1 reply

Inspiring
September 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
taywanqiAuthor
Inspiring
September 18, 2008
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