updated database from mysql 5.0 to 5.6

Matthew Keeping September 8, 2015

We recently updated from mysql 5.0 to 5.6 (took a mysqldump and restored on a new server)  we then received a timestamp error so we added the parameter zeroDateTimeBehavior=convertToNull'  to our jdbc connection string, now it appears that dates get updated with 0000-00-00 instead of the correct date

2 answers

0 votes
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2015

Hi Matthew,

I believe that jumping from 5.0 to 5.6 is a huge step. I would recommend going to 5.5 and then 5.6 after testing each upgrade and confirming that everything is working fine. The mySQL documentation should help too.

https://dev.mysql.com/doc/refman/5.6/en/upgrading.html

Cheers,

Rodrigo

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2015

Hi Matthew, 

 

Did you try a re-index after you add the jdbc paramenter?

 

Regards, 
Renato Rudnicki 

Suggest an answer

Log in or Sign up to answer