Duplicate Database

  • Dear admin,


    An exception with the following message has been thrown in file
    /var/www/imscp/gui/library/shared-functions.php (Line: 2527):


    =================================================================


    SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
    'Prestashop' for key 'sqld_name'


    Query was:


    INSERT INTO sql_database (domain_id, sqld_name) VALUES (?, ?)
    =================================================================


    Debug backtrace:
    ---------------


    File: /var/www/imscp/gui/public/client/sql_database_add.php (Line:
    165)
    Function: exec_query()
    File: /var/www/imscp/gui/public/client/sql_database_add.php (Line:
    216)
    Function: client_addSqlDb()


    Additional information:
    ----------------------


    Http User Agent: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101
    Firefox/19.0
    Request Uri: /client/sql_database_add.php
    Http Referer:
    http://XXXXXXXXXXXXXx/client/sql_database_add.php
    Remote Addr:
    Server Addr:


    ____________________________________________________________
    i-MSCP Exception Mail Writer



    Note: If an exception of same type is thrown again, you will not
    receive this mail before an expiration time that is currently fixed at
    6 hour(s).

  • If you don't get something like this:


    you shouldn't worry about it :)


    (in this example, file was modified during the backup job, so it wasn't able to "tar" it and send the error)