Jump to content

An error occured during installation - Cannot create admin account


Recommended Posts

  • 1 month later...
  • 1 year later...

The problem is whenn try to create the admin account, the installer try to insert a record in table ps_employee and try to use 0000-00-00 in stats_compare_from and stats_compare_to.

 

To fix this problem you need to change the sql_mode in MySql, i change this value 

 

from this
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
to
sql-mode=""
 
This is my local installation, so i don't have problem to changed this. Maybe you need disable "NO_ZERO_IN_DATE,NO_ZERO_DATE" or enable  ALLOW_INVALID_DATES, check this link http://dev.mysql.com/doc/refman/5.6/en/using-date.html
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...