Jump to content
  • 0

can't create account


Earnestinence

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

Hello rAthena community,

 

[Edit]please edit topic Title to " can't create account " , not character

 

I have a problem when running my server, SQL error 

 

 

http://imgur.com/a/e2BeS

[SQL]: DB error - Incorrect date value: '0000-00-00' for column 'birthdate' at row 1
[Debug]: at ..\src\login\account.c:649 - UPDATE `login` SET `userid`=?,`user_pass`=?,`sex`=?,`email`=?,`group_id`=?,`sta
te`=?,`unban_time`=?,`expiration_time`=?,`logincount`=?,`lastlogin`=?,`last_ip`=?,`birthdate`=?,`character_slots`=?,`pin
code`=?, `pincode_change`=? WHERE `account_id` = '1 

i tried to change it , but still same error , can someone please help me with that?


Up UP!

Edited by Ciel Phantomhive
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

You aren't supposed to change the first line. Only the 2nd line onwards is for Admin/Player accounts.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   1
  • Joined:  02/10/12
  • Last Seen:  

I'm having the same error, I didn't change anything in mysql.. I install Wampserver in my PC..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

I'm having the same error, I didn't change anything in mysql.. I install Wampserver in my PC..

this is not your fault, it's fault of changes in mysql 5.7.*

Read it: http://stackoverflow.com/questions/36374335/error-in-mysql-when-setting-default-value-for-date-or-datetime/36374690#36374690

 

How to solve:

roll-back to mysql 5.5 - 5.6, or update manually these tables, or implement custom fixes to my.cnf from link above.

Edited by Anacondaqq
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...