New 5.6 Install Fails With MySQL Error 1264
Permalink 1 user found helpful
I am attempting a clean install of 5.6.0. After completing the site/database details screen a progress bar appears indicating it's creating tables, then I get the error message -
mysql error: [1264: Out of range value for column 'uLastIP' at row 1] in EXECUTE("update Users set uLastIP = -713304780, uLastLogin = 1346673362, uPreviousLogin = '0', uNumLogins = uNumLogins + 1 where uID = '1'")
mysql error: [1264: Out of range value for column 'uLastIP' at row 1] in EXECUTE("update Users set uLastIP = -713304780, uLastLogin = 1346673362, uPreviousLogin = '0', uNumLogins = uNumLogins + 1 where uID = '1'")
Have you reported this on the bug tracker? Its not the sort of issue the core team would encounter (unless they test with an IP that shows the glitch)
Thanks. That worked for me. I've posted the issue on "Bug Tracker" also.
I had the same problem today and 'solved' it by the following hack:
The problem seems to be that the ip2long($_SERVER['REMOTE_ADDR']) returns a negative number which is not suitable for the unsigned int 10 field (uLastIP) in the Users table.
As a temporary hack I just changed the IP to a standard value of 1.1.1.1 (16843009) which should work as long as the is no official fix.
Hope that helps