Chocobozzz / OpenVPN-Admin

Install and administrate OpenVPN with a web interface (logs visualisations, users managing...)
GNU Affero General Public License v3.0
947 stars 368 forks source link

1292 Incorrect date value: '0000-00-00' for column 'user_start_date' at row 1 #176

Open mrbupu opened 2 years ago

mrbupu commented 2 years ago

I cloned new version . Everything is fine untile install admin user. I got above MySQL error

eetsceeck1 commented 1 year ago

that's because the new mysql / mariadb servers locking the date tables that can be fixed by two ways,

  1. install old mysql server (between 2017 to 2019)
  2. install the latest mysql server and log into mysql and run the command: SET GLOBAL sql_mode = '';