I have installed the script, and have edited the import.php (in same directory as the release history file), but it's showing this error:
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.
(host: localhost, user: -hidden-purposefully-, pass: ********)
Database Error:
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.
(host: localhost, user: -hidden-purposefully-, pass: ********)
Note: I have hidden the mysql user from above purposefully.
===========
The import script is pulling the mysql user ID and password and database name automatically, but that it's showing the error is something I couldn't understand, because Yetishare script is working alright. Only the import script is having problems.
Please help.
BTW, here is the format I used. I removed the [[[ ]]] square brackets, in import.php where I have to provide the details. It looks like this:
// account name to import files into
define('FILE_IMPORT_ACCOUNT_NAME', '-hidden-purposefully-');
// local path to files, this must be on the same server as this script
define('FILE_IMPORT_PATH', '/var/www/html/***/***/-hidden-purposefully-/');
// the folder within the account to start with, set to null (without quotes) for root, the folder must exist in the root aswell
define('FILE_IMPORT_ACCOUNT_START_FOLDER', 'null');
Further, in mySQL, running the command given below for my database gets me the user ID that import.php is also using. So, that user certainly has the access to database, which is why yetishare is also working alright.
select user from mysql.db where db='hidden-purposefully';
What could be wrong when yetishare is working alright but import.php isn;t even when it's using yetishare's details given config.inc.php?
Please help!
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.
(host: localhost, user: -hidden-purposefully-, pass: ********)
Database Error:
Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database.
(host: localhost, user: -hidden-purposefully-, pass: ********)
Note: I have hidden the mysql user from above purposefully.
===========
The import script is pulling the mysql user ID and password and database name automatically, but that it's showing the error is something I couldn't understand, because Yetishare script is working alright. Only the import script is having problems.
Please help.
BTW, here is the format I used. I removed the [[[ ]]] square brackets, in import.php where I have to provide the details. It looks like this:
// account name to import files into
define('FILE_IMPORT_ACCOUNT_NAME', '-hidden-purposefully-');
// local path to files, this must be on the same server as this script
define('FILE_IMPORT_PATH', '/var/www/html/***/***/-hidden-purposefully-/');
// the folder within the account to start with, set to null (without quotes) for root, the folder must exist in the root aswell
define('FILE_IMPORT_ACCOUNT_START_FOLDER', 'null');
Further, in mySQL, running the command given below for my database gets me the user ID that import.php is also using. So, that user certainly has the access to database, which is why yetishare is also working alright.
select user from mysql.db where db='hidden-purposefully';
What could be wrong when yetishare is working alright but import.php isn;t even when it's using yetishare's details given config.inc.php?
Please help!