database error?

database error?

yskapellyskapell Posts: 47Questions: 14Answers: 3

Hello,

When I login in the site I get the below error

DataTables warning: table id=studentsVoc - An error occurred while connecting to the database 'learnChinese'. The error reported by the server was: SQLSTATE[08006] [7] FATAL: password authentication failed for user "yskapell"

Can be license issue or is something else?

Answers

  • allanallan Posts: 61,757Questions: 1Answers: 10,111 Site admin

    When I login in the site

    What site?

    The error suggests that the password that is being used by the server-side scripts you have, for the database, is incorrect. I would suggest checking that user name and password. If you are using the Editor libraries, that will be in the config.php file.

    It isn't a licensing issue, its a configuration issue.

    Allan

  • yskapellyskapell Posts: 47Questions: 14Answers: 3
    edited March 8

    Hello Allan,

    Until 2 days ago it was working fine.

    Nothing changed as all the other SQL scripts work fine.

    where is the config.php file on the editor?

  • allanallan Posts: 61,757Questions: 1Answers: 10,111 Site admin

    I hate to say it, but something changed :). The error message is quite clear - it is a database credentials connection error.

    If you are using our Editor PHP libraries (I don't know if you are or not?), then look in the config.php file. See the documentation here.

    Allan

Sign In or Register to comment.